Skip to content

how can i pass on parameters through /v1/process #1254

Answered by dosubot bot
phoenix-lee-tpe asked this question in Q&A
Discussion options

You must be logged in to vote

🤖

Hello @phoenix-lee-tpe! I'm Dosu, a friendly bot here to assist you with your questions, help squash bugs, and guide you through contributing to projects. While we wait for a human maintainer, I'll do my best to streamline the process for you. Let's dive right into it!

To pass parameters to the langflow components in your flow through /v1/process, you can use the sendAll function. This function sends data to the API for prediction. Here is the function definition:

/**
 * Sends data to the API for prediction.
 *
 * @param {sendAllProps} data - The data to be sent to the API.
 * @returns {AxiosResponse<any>} The API response.
 */
export async function sendAll(data: sendAllProps) {
  return 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by phoenix-lee-tpe
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