Replies: 1 comment 1 reply
-
What I understand is For latter, there are enough examples like for Hugging Face, Cohere. You may also look at AWS Sagemaker for more information. We are also trying to use langchain with a local setup. And it seems, it's non-trivial task (If not too complex) to integrate langchain with local LLM & embeddings. What is needed is to allow usage of Open source embedding models. Which should solve a lot of problems. |
Beta Was this translation helpful? Give feedback.
-
I found LangChain is a very useful and convenient AI tool and framework for LLM application development. A rich set of API document, good sample codes and tutorials are sugar spots in attracting developers.
However, after trying many samples codes in the tutorials, I found most of these sample codes involved "import OpenAI..." API calls, which provided many key supplementary NLP functions like similarity search, embedding and keywords extraction...etc.
There are several concerns for such approach:
Since the main purpose of LangChain sample code and tutorial is to promote the functions and capabilities of LangChain and grow a wider user community and eco-system, I suggest more sample code and tutorial should be made without relying on OpenAI API calls only or a standard good practice of replacing OpenAI API call with at least one alternative (opensource is preferred) should be provided.
If there are already some good LangChain tutorials without relying on OpenAI API calls, please let me know.
Thanks
Benny
Beta Was this translation helpful? Give feedback.
All reactions