HI @rokbenko ,
I am trying to build an agent which gets the data from an API by referring to a document in S3. The tool etc. is defined yet I want it to ask me any required parameters or api keys for completing the request. Even when I am trying with human_input = True I am not being asked any inputs. It is assuming example on it’s own and giving No data found finally.
api_info_agent = Agent(
role="API information fetcher",
goal="Get the API information from the given.",
backstory="""You are an expert in APIs.
You understand the API documentation and can extract the information from it such as the important and mandatory parameters for the API,
type of authentication, headers etc.""",
llm=llm,
tools=[s3_extractor_tool],
allow_delegation=True,
memory=True,
#human_input=True,
verbose=False,
)
api_info_task = Task(
description="""Get the precise and to the point API information from the given url
Give very precise and to the point information in well structured format ONLY ABOUT
HOW TO GET THE DATA FROM THE API. Only include the relevant information for GET request.
Do not throw any error. If any information required, ask the user for the information.""",
expected_output="The API information required to GET the data from the API",
human_input=True,
agent=api_info_agent,
)