Replies: 3 comments 3 replies
-
Did you try the CSV agent? https://toi500.gitbook.io/flowise-docs/integrations/langchain/agents/csv-agent |
Beta Was this translation helpful? Give feedback.
-
This is possible. I'm doing it with PlainText and should work with CSV. Connect the CSV Document Loader to the Prompt Template and click the "Format Prompt Variables" button. There you will create a key/value pair. They key can be whatever you choose (i.e. "csv_data"). When entering the value, a dropdown will show an option for the CSV loader. Then your prompt template can include the key. Example:
P.S. It IS also possible to send this CSV data through API along with a user's query. |
Beta Was this translation helpful? Give feedback.
-
I am also looking to do this, but the process really isn't all that clear. I want to poll one of my APIs, get the JSON output, and have the LLM use this data in it's context / prompt template. |
Beta Was this translation helpful? Give feedback.
-
Hi, I want to upload a document and it goes into the context and skipping the step of upserting and querying the vector store (the documents will be small enough to fit in context). Any way to do so? They will be csv at first. If it works, I can try to expand to pdf.
Beta Was this translation helpful? Give feedback.
All reactions