langchainjs
langchainjs copied to clipboard
It would be nice to support bindings from llama.cpp for question generation and embeddings. This is already supported in the main library.
In Python version we can provide `persist_directory` parameter in the `from_documents` method to persist the index to disk. This parameter is missing from the JS version. Python example: `Chroma.from_documents(texts, embeddings,...
The current implementation allows for a SELECT clause to be provided on creation but not a WHERE clause. It would be great to apply filters on returned documents in a...
Is it by design that the SERP API and Bing API only take into account the first SERP result from the search query response? If not I can create a...
![image](https://user-images.githubusercontent.com/8306959/230825307-bd1120fc-a839-4046-b460-1e96c7f3d2ea.png) I think there should be more tolerance here than throwing error?
I'm using a pinecone vector with OpenAIChat model in a ConversationalRetrievalQAChain, it works as intended when im not streaming the output however if I change the OpenAIChat to streaming true...
Building on https://github.com/hwchase17/langchainjs/pull/355 Lotta people complaining in discord about agents and chat models. Im still not sure ive seen proof they should be worse, I think its more the current...
https://github.com/langchain-ai/langchain-template-supabase/blob/main/supabase/functions/chat/index.ts#L30-L50