victordibia / llmx

An API for Chat Fine-Tuned Large Language Models (llm)
MIT License
72 stars 27 forks source link

Update OpenAITextGenerator to support latest openai package #17

Closed vignesh14052002 closed 6 months ago

vignesh14052002 commented 6 months ago

This PR contains changes to support latest openai package in OpenAITextGenerator class , issue - https://github.com/microsoft/lida/issues/63

Why this change is required

We are developing a project which requires lida (which is dependent on llmx) along with other packages like langchain and llama index , Since llmx doesn't support latest openai package and other libraries are dependent on latest version , there is an openai version conflict and we cannot downgrade openai version

How this change has been tested

Manual testing has been done by using the latest openai version

AngleMAXIN commented 6 months ago

please merge

vignesh14052002 commented 6 months ago

@victordibia can you review and merge ASAP? it is a dependency for our project

victordibia commented 6 months ago

Thanks!