How to pass other input to an evaluator in LangSmith? #25301
Replies: 2 comments 1 reply
-
To pass a PDF file to the evaluator LLM in LangSmith, you need to load the PDF into a format that the LLM can handle using a document loader. Here is a step-by-step guide:
By following these steps, you can pass a PDF file to the evaluator LLM in LangSmith and perform question-answering tasks on the content of the PDF [1][2]. |
Beta Was this translation helpful? Give feedback.
-
@dosu I am not using a RAG approach. I provide the PDF files via a URL for the LLM. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Given a question/PDF file set how do I pass the same PDF file to the evaluator LLM?
System Info
langchain==0.2.6
langchain-chroma==0.1.2
langchain-community==0.2.1
langchain-core==0.2.23
langchain-google-genai==1.0.7
langchain-google-vertexai==1.0.7
langchain-openai==0.1.13
langchain-text-splitters==0.2.0
langchainhub==0.1.20
openinference-instrumentation-langchain==0.1.22
Beta Was this translation helpful? Give feedback.
All reactions