crewAI-examples
crewAI-examples copied to clipboard
Do we have any way to pass Dict or List as tool input?
@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. """