Replies: 2 comments 2 replies
-
To return multiple files from an HTTP node so that they appear in the "files" field instead of the "body" field, you need to ensure that the response is structured in a way that the HTTP node can recognize and extract the files. Here are some steps and considerations:
By following these steps, the HTTP node should be able to extract the files from the response and place them in the "files" field. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I tried your method, but multiple files are still returned as strings in the body field, and the files field is empty. I cannot receive the returned multiple files.@dosu
|
Beta Was this translation helpful? Give feedback.
-
Self Checks
Provide a description of requested docs changes
I want the http node to return multiple image files, and then these image files are used as input to the LLM node. However, I have only found a way to return a single image file, and LLM can receive it.I use api written by FastAPI to send requests through http nodes.
http node output like this!
When I return multiple files in the following way, the multiple files are always in the body field in the response, not in the files field.
http node output like this!
In what format should http node return multiple files?
Beta Was this translation helpful? Give feedback.
All reactions