148 questions
Tooling
0
votes
0
replies
76
views
Trying to improve my OCR-LLM document extraction method. Any recommendations?
I'm currently working on extracting personal data from personal and institutional documents. I'm looking specifically for full names and ID numbers in a variety of documents. In our team, we already ...
1
vote
1
answer
83
views
How to reload code when using langgraph dev?
I'm trying to learn langgraph, and reloading the code has been a major issue. In theory, code reload should be automatic, but it does not work. Sometimes I change the code and the change happens, ...
0
votes
0
answers
48
views
Testing LangGraph functional API entrypoint with injected checkpointer raises RuntimeError: checkpointer not set
I'm building a FastAPI application that uses LangGraph's functional API (@entrypoint) for defining workflows. Each entrypoint requires a checkpointer, and I want to use PostgresSaver in production but ...
Best practices
0
votes
0
replies
80
views
How to test langgraph Functional API entrypoints
In the official docs they only show how to test Graph API (StateGraph):
https://docs.langchain.com/oss/python/langgraph/test#getting-started
Our team is discussing alternatives to write such tests for ...
3
votes
1
answer
138
views
langchain- Putting a 'base64' image in chatPromptTemplate(
I'm using langchain==0.3.24.
I converted an image to base 64 and now I want to put it in a chatPromptTemplate:
...
image_data = ... #converting image to base64 and store it in the variable
...
0
votes
1
answer
185
views
Using LLM models downloaded from huggingface with langgraph
I downloaded the weights of a llama model from huggingface. It works for simple tasks, but I don't know how to use it with langgraph to create agents or how to bind tools.
Here is how I downloaded it:
...
1
vote
0
answers
136
views
Agentic RAG tool_calling issue: Groq + LangChain agent fails with tool_use_failed when calling custom tool (Llama 3.3)
I'm building a Streamlit app using LangChain (latest), LangGraph, and Groq with the model:
llama-3.3-70b-versatile
I'm using the modern create_agent() API (LangGraph-backed). The agent has two tools:
...
2
votes
1
answer
112
views
Langgraph Studio Multi-Agent Example: Hierarchical Agents?
I've been using Langchain and Langgraph for some time now and have gained experience working with various multi-agent models, including hierarchical agents and collaboration agents. Recently, I came ...
Advice
1
vote
3
replies
72
views
Overriding the agent state in Langgraph
I am trying to override the Langgraph's state["messages"] before it reaches the agent, but not sure if I am doing it right. I need to remove some messages from state before sending it to ...
0
votes
1
answer
89
views
Agentic RAG flow fails at chroma retrieval
import os, asyncio, json
from dotenv import load_dotenv
from autogen_agentchat.agents import AssistantAgent
from autogen_agentchat.teams import DiGraphBuilder, GraphFlow
from chromadb import ...
0
votes
0
answers
191
views
Update state messages list before interrup
I'm using Langgraph version 1.2.7 to build a workflow composed of several nodes. Many of these nodes may interrupt the flow by asking the user for clarifications or additional information. The user ...
0
votes
0
answers
112
views
LangGraph seems to ignore tool outputs with Gemini models
I’m experiencing an issue where the LLM correctly invokes a tool (tool call is successful), but it appears unable to interpret or process the tool’s result.
Here is the code to reproduce the issue:
...
1
vote
0
answers
159
views
Cannot response as stream token-by-token when an agent is a part of a workflow in Langgraph
I am designing a complex workflow in Langgraph where there will be multiple agents. Some of the agents will be intermediary and some other will be user-facing (that is I will show the output of those ...
Tooling
0
votes
0
replies
105
views
How to use SelfQueryRetriever in the recents versions of Langchain?
I'm trying to use metadata in RAG systems using LangChain. I see a lot of tutorials using SelfQueryRetriever, but it appears that this was deprecated in recent versions. Is this correct? I couldn't ...
0
votes
1
answer
127
views
Langgraph `update_state` modifies unexpected fields
Why does update_state in LangGraph modify fields even if I didn't specify them?
code
Here is my code. Import some lib first...
from langgraph.graph import StateGraph
from typing import TypedDict
from ...