Documentation Page / Section
https://lemonade-server.ai/docs/server/server_spec/
What's Missing or Wrong
Following on to #1616 it would be nice to have a local copy of the API documentation, especially the lemonade-specific parts. I see two main benefits:
- the API documentation would inherently match the running server version. Maybe there's a new endpoint, or one was removed in the development/latest version. That doesn't matter as much as long as the server can describe the API it supports.
- improved offline support. It seems like everybody has agreed on OpenAI-compatible endpoints, with a little bit of Ollama-compatible pixie dust, and there are bindings for every language. We don't really care about which REST methods are available for the standard operations .. but the lemonade-specific details are definitely worth documenting.
Suggested Improvement
Include a copy of the API documentation for the running server version, and make it accessible over the network. This could be an OpenAPI spec, a pretty swagger endpoint, a /docs path that just returns a markdown file, some server-side magic to automatically return HTML or JSON depending on the value of the Content-Type header ... I could work with any of these.
Documentation Page / Section
https://lemonade-server.ai/docs/server/server_spec/
What's Missing or Wrong
Following on to #1616 it would be nice to have a local copy of the API documentation, especially the lemonade-specific parts. I see two main benefits:
Suggested Improvement
Include a copy of the API documentation for the running server version, and make it accessible over the network. This could be an OpenAPI spec, a pretty swagger endpoint, a
/docspath that just returns a markdown file, some server-side magic to automatically return HTML or JSON depending on the value of theContent-Typeheader ... I could work with any of these.