Skip to content

Add examples in the docs #54

@svilupp

Description

@svilupp

It would be excellent to add some examples in the docs.

I suspect it is hard for newcomers to use the various endpoints and also debug the common error. There is a lot of knowledge how we use these endpoints that is not captured anywhere yet.

Ideas:

  • How to call chat endpoint with the new modes (function call/ tools call, json mode, logit bias classifier)
  • HTTP debugging and tips (errors when calling wrong model-endpoint combination, dropped calls, timeouts, async challenges (Pool vs Threads))
  • Common problems (truncated output for vision models, etc)
  • Some practical example to build easy templates with structs?

WDYT? We could probably start small.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions