ollama-python icon indicating copy to clipboard operation
ollama-python copied to clipboard

add OpenAI example in README.md.

Open fujitatomoya opened this issue 1 year ago • 1 comments

fujitatomoya avatar Sep 17 '24 05:09 fujitatomoya

@jmorganca could you take a look at this?

btw, i am happy to review PRs if you guys do not have bandwidth. please let me know!

fujitatomoya avatar Sep 21 '24 04:09 fujitatomoya

The openai-python library is completely separate from the ollama-python library that uses a different API so it doesn't seem appropriate to include that here. If people want to use the OpenAI API with Ollama, there are already instructions to do so in the main repo. https://github.com/ollama/ollama/blob/main/docs/openai.md

kth8 avatar Nov 05 '24 08:11 kth8

@kth8 thanks for the feedback. Ah i see, i did not know that https://github.com/ollama/ollama/blob/main/docs/openai.md exist, but as you mentioned that would be the appropriate place to maintain OpenAI compatibility information. all that said, i will go ahead to close this one.

fujitatomoya avatar Nov 05 '24 18:11 fujitatomoya