-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[R-313] Adding more LLM/Embedding Providers #1617
Comments
If the output of my model is obtained through a method call, for example, def query_model(query): return response. Then how should I write the code to load the model? In addition, the Embedding model is also generated through a similar method call, providing methods for converting words into vectors and comparing vector similarities. |
hey @kent-william007, in that case you will have to implement Lines 64 to 83 in 1e7121b
on your own and make sure make sure that the result is of the type https://python.langchain.com/api_reference/core/outputs/langchain_core.outputs.llm_result.LLMResult.html similarly for https://github.com/explodinggradients/ragas/blob/main/src/ragas/embeddings/base.py let me know if you have further doubts, we'll help you out 🙂 btw are you on discord? |
Is it possible to support model invocation through an API? This way, we can leverage the model capabilities provided by the server without needing to worry about which underlying model is being used. |
A running issue to get feedback on which LLM or Embedding Providers we need to add for you
R-313
The text was updated successfully, but these errors were encountered: