Skip to content

[Question]: Passing a list as an argument to invoke component #5750

Closed
@ZYMCao

Description

@ZYMCao

Describe your problem

Here is how I configured invoke component where dataset_ids is to be passed as an argument to API of RAGFlow, http://{address}/api/v1/retrieval

Image

Here is what I got when I made a request to http://{address}/api/v1/retrieval

Image

My speculation:
["9aaa2534f8db11efb33f661b4fdfd970"] was passed as dataset_ids to http://{address}/api/v1/retrieval, but not as a list; as string instead. And thus the error of
{"code":102,"message":"dataset_ids should be a list"}

Can we pass a list of integers as an argument to invoke component in the future??

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions