How to go about Injecting context of files uploaded in the chat to the LLM #11093
Unanswered
acancino-gnv
asked this question in
Q&A
Replies: 1 comment
-
|
Same boat here, I would like to have this information in the context too. Have you found any workaround for this? @acancino-gnv |
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.
-
I'm working on a data analysis MCP server, roughly it performs some data analysis by calling tools sequentially following a recipe on user uploaded files.
My setup currently is (user uploads file to librechat) -> (It gets uploaded to a S3 bucket) -> (the LLM performs operations through tools on the uploaded file, guided by it's system prompt).
My issue is that the file upload in the front end doesn't inject context of the uploaded filepath into the conversation (a minimal input of "the user uploaded this file path://to/file").
Is there a native way of doing this through a hook or configuration? I haven't found any, and I'd rather not edit or fork the project on my end (which I'm importing as a git submodule).
Beta Was this translation helpful? Give feedback.
All reactions