Replies: 1 comment
-
Great! Just inserted as task for the next release v0.0.8 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature Suggestion: Ability to Change OpenAI Client on OpenAI llm
I would like to suggest a new feature for the OpenAI llm library that would provide users with the ability to change the OpenAI client used within the library. Currently, the OpenAI client is instantiated during the initialization of the
openAI
struct in theNew
function. However, having the flexibility to use a custom OpenAI client would enhance the versatility and customization options for the library.Code Snippet:
Suggested Addition:
To allow users more flexibility and control over the OpenAI client used by the OpenAI llm library, I propose adding a new method called
WithClient
. This method would enable users to supply their own instance of the OpenAI client.Example:
Beta Was this translation helpful? Give feedback.
All reactions