Replies: 1 comment
-
Question: Are you using any llm platforms to generate code or answer questions? I’m just starting my langchain journey and am wondering how various code generating gpts will work for the build. I’m building a multimodal ai assistant and want to use Langchain primarily for persistent memory and RAG. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I hope that all is well.
I'm using Langchain to build a MultiAgent chatbot and utilizing the prebuilt ToolNode function to inject state using InjectedState. However, ToolNode automatically converts the tool's result to a string for use in a ToolMessage. How can I store the tool's result in its original type (like a DataFrame) while still using ToolNode, or how can I create a custom tool node that supports state injection?
Example of a graph defined to use ToolNode:
Example of a tool for which I would like to store the result in pd.DataFrame type along storing it in a ToolMessage:
Thank you so much in advance !!
Beta Was this translation helpful? Give feedback.
All reactions