Skip to content

Use API response as input data #3590

Answered by gossese
gossese asked this question in Q&A
Aug 28, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

That was it! I already created a custom component to wrap the response, but I used data_input = Data(value=response_body)

The correct way is data_input = Data(text=response_body)
That way, the Split Text component accepts the input and the chunks can be sent to the DB.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gossese
Comment options

@dosubot
Comment options

@gossese
Comment options

Answer selected by gossese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant