Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
36 views

AzureChatOpenAI only uses one tool at a time

LangChain with AzureChatOpenAI is only ever calling one tool at a time. When prompting the model to multiply and add two sets of numbers, I expect two tool calls, however only one tool is called, ...
Julian's user avatar
  • 1
-1 votes
0 answers
14 views

Langchain agent not using tool every time in react for pdfchat, and concludes with wrong answer

Im using the react template proposed by langchain hwchase17/react-chat react template with chat history. when using this template sometimes it fails to look into rag tool so it is getting results from ...
afsal ali's user avatar
-1 votes
0 answers
13 views

Measuring relevance of the knowledge base to user questions

I have a document that explains finance policies and processes of some company. The goal is to build a chatbot using RAG framework upon that document to serve employees who have queries related to ...
Mohamed Abd ElBaset's user avatar
0 votes
1 answer
88 views

Error when tracing llm calls with Langsmith (Failed to get info from https://eu.smith.langchain.com) (Failed to batch ingest runs: LangSmithError))

I have an issue with lansgmith setup. I tried to search on the web for this issue, but could not find a solution. I follow these steps: Created a new fresh environment: conda create --name ...
Andrea Neri's user avatar
-4 votes
0 answers
25 views

Want to retrain my LLM based user questions and answers on OpenAI

We have created a solution where users can upload their PDFs and ask questions. We have used NodeJS, Langchain, and OpenAI. Currently, the app flow is we save all the content of PDF in our vector ...
Muhammad Mudassir's user avatar
1 vote
1 answer
65 views

How do I persist FAISS indexes?

In the langchain wiki of FAISS, https://python.langchain.com/v0.2/docs/integrations/vectorstores/faiss/, it only talks about saving indexes to files. db.save_local("faiss_index") new_db = ...
Xiao Jing's user avatar
0 votes
0 answers
35 views

multiple headers excel loader,langchain , excel chatbot

i am creating question and answer using excel, i am using recursive text splitter.i am able to generate answer for simple excel files but the problem is with the excel file with multiple headers like](...
anu's user avatar
  • 19
0 votes
0 answers
41 views

AI Stops Abruptly with Langchain and CTransformers

I am facing an issue with my AI application in Python. I am using the chainlit library along with langchain and CTransformers to generate AI responses. However, the AI often stops abruptly before ...
Memo's user avatar
  • 1
-1 votes
0 answers
16 views

Issue with SQLDatabase.from_uri in langchain when including materialized views

This is not working for views ( working for tables in the same database) db = SQLDatabase.from_uri(rds_uri,include_tables=["mv_complete_dur_info_update_new"],view_support=True,schema="...
kalpesh patil's user avatar
0 votes
0 answers
99 views

The relationship between chunk_size, context length and embedding length in a Langchain RAG Framework

everyone. Currently I am working on a Langchain RAG framework using Ollama. I have a question towards the chunk size in the Document Splitter. Now I decide to use qwen2:72b model as both embedding ...
Joesf.Albert's user avatar
0 votes
0 answers
40 views

SQL query is not correctly generated using langchain, nlp and llm

I have created a application which takes input question and converts it in SQL query using langchain, llm and nlp but sometimes it creating wrong query especially in the beginning following is the ...
kalpesh patil's user avatar
1 vote
0 answers
77 views

Passing Additional Information in LangChain abatch Calls

Given an abatch call for a LangChain chain, I need to pass additional information, beyond just the content, to the function so that this information is available in the callback, specifically in the ...
TantrixRobotBoy's user avatar
-1 votes
0 answers
259 views

OpenWebUI + Pipelines (w/ langchain hopefully)

I'm currently at the last step of https://github.com/open-webui/pipelines, and I tried to start the server, but it says the image below as my error. I'm not sure if the server is already running nor ...
Ryan Lutz's user avatar
0 votes
0 answers
12 views

Converting PDFs to Markdown for Higher Quality Embeddings with Langchain.js

I am working on RAG LLM projects with Langchain.js using Node.js. Most of the data I retrieve are PDFs and a bit of JSON. For higher quality, I would like to convert my PDFs into Markdown before ...
Uiyoung Kim's user avatar
0 votes
0 answers
26 views

I am getting this error while building a RAG model

I am getting this error while building a RAG model while using qwen2 model instead of the default llama2 which chroma uses. My code: from langchain_community.embeddings import OllamaEmbeddings from ...
Dakshi R's user avatar

15 30 50 per page
1
2 3 4 5
34