readme-ai icon indicating copy to clipboard operation
readme-ai copied to clipboard

Feature/azure client

Open jkondek1 opened this issue 10 months ago • 1 comments

Hi guys, this is my first open-source PL, please be patient :D

  • in case of using private GPT instances on Azure, the api calls look different
  • I implemented AzureOpenAIHandler() which uses openai Azure client to call the completions endpoint (there is also an option to not use a client and construct the endpoint similarly to other handlers, however the structure of the endpoint is anyway more complex so I found this more appropriate)
  • I also renamed the openai.py module as it was causing conflicts with openai lib. Ofc, I am open to different suggestions
  • documentation to readme will be added once I get some feedback from the maintainers

jkondek1 avatar Jun 12 '25 10:06 jkondek1

any comments? 😄

jkondek1 avatar Jun 23 '25 11:06 jkondek1