You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can add and abstract method to BaseLLMClient like: def chat_completion(messages, **kwargs) -> list[str]
We need to implement it in the different clients, we can define a scheme similar to what LangChain did with AIMessage, HumanMessage and SystemMessage
Here is OpenAI docs for this kind of endpoint: https://platform.openai.com/docs/api-reference/chat
The text was updated successfully, but these errors were encountered:
We can add and abstract method to BaseLLMClient like:
def chat_completion(messages, **kwargs) -> list[str]
We need to implement it in the different clients, we can define a scheme similar to what LangChain did with AIMessage, HumanMessage and SystemMessage
Here is OpenAI docs for this kind of endpoint: https://platform.openai.com/docs/api-reference/chat
The text was updated successfully, but these errors were encountered: