async-openai
async-openai copied to clipboard
Ollama AI Chat Completion Example / OpenAI Compatibility
Given that officially Chat completion API is compatibale - this library should work without any changes. Hence it would be great to have a fully self contained example which works with local ollama using this crate
https://ollama.com/blog/openai-compatibility
This would be great, is it just a matter of switching the endpoint?
I do not know :) hence this example calls for self contained - so that it works out of the box and answer(s) the question(s) like that :)
I'll give it a shot!