crewAI-examples icon indicating copy to clipboard operation
crewAI-examples copied to clipboard

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

Open Poojan66 opened this issue 9 months ago • 2 comments

@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. """

Poojan66 avatar May 23 '24 10:05 Poojan66