crewAIInc / crewAI-examples

2.6k stars 965 forks source link

Do we have any way to pass Dict or List as tool input? #111

Closed Poojan66 closed 2 days ago

Poojan66 commented 3 months ago

@tool("search elasticsearch") def search_vector(input_data:Dict) -> str: """this is a tool to be used to fetch the similar vectors from elasticsearch using embeddings and index_name database and return data recieved from elasticsearch :param input_data: dict, embeddings of a str and string, index name to search in elasticsearch. """

apoorva1509 commented 2 months ago

Hey @Poojan66 , did you find any solution to your mentioned issue. I am facing the same thing as well.

Poojan66 commented 2 months ago

Hi @apoorva1509 No I haven't found the solution sand didn't got any response from the team as well.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 days ago

This issue was closed because it has been stale for 5 days with no activity.