AlibabaResearch / AlibabaResearch/DAMO-ConvAI

level-2_toosearcher data exist error?

Aperta
#141 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1.6k
Fork
250
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

if level-2_toosearcher data exist error? api searched is different from the api used
data in AddMeeting-level-3-2.jsonl list here:

{"role": "User", "text": "Can you help me schedule a meeting with John for next Monday at 2 pm in the meeting room?"}
{"role": "AI", "text": "Sure. Let me search for relevant tools first."}
{"role": "API", "api_name": "ToolSearcher", "param_dict": {"keywords": "schedule meeting"}, "result": {"api_name": "ToolSearcher", "input": {"keywords": "schedule meeting"}, "output": [{"name": "**_GetUserToken_**", "description": "Get the user token.", "input_parameters": {"username": {"type": "str", "description": "The username of the user."}, "password": {"type": "str", "description": "The password of the user."}}, "output_parameters": {"token": {"type": "str", "description": "The token of the user."}}, "desc_for_search": "get user tokenGet the user token."}, {"name": "**_QueryAgenda_**", "description": "The API for getting a schedule item includes parameters for token, content, time, and location.", "input_parameters": {"token": {"type": "str", "description": "User's token."}, "content": {"type": "str", "description": "The content of the agenda."}, "time": {"type": "str", "description": "The time for agenda. Format: %Y-%m-%d %H:%M:%S"}, "location": {"type": "str", "description": "The location of the agenda."}}, "output_parameters": {"info": {"type": "json", "description": "agenda info including username and time"}}}], "exception": null}}
{"role": "AI", "text": "Okay, to schedule a meeting with John for next Monday at 2 pm in the meeting room, I need your authentication. Can you please provide your username and password?"}
{"role": "User", "text": "My username is JohnDoe and my password is pass123."}
{"role": "AI", "text": "Great."}
{"role": "API", "api_name": "**_GetUserToken_**", "param_dict": {"username": "JohnDoe", "password": "pass123"}, "result": {"api_name": "GetUserToken", "input": {"username": "JohnDoe", "password": "pass123"}, "output": {"token": "a9s8d7f6g5h4j3k2l1"}, "exception": null}}
{"role": "AI", "text": "I've got your token. Now, let me schedule the meeting."}
{"role": "API", "api_name": "AddMeeting", "param_dict": {"token": "a9s8d7f6g5h4j3k2l1", "meeting_topic": "Meeting with John", "start_time": "2023-07-10 14:00:00", "end_time": "2023-07-10 15:00:00", "location": "meeting room", "attendees": "['John']"}, "result": {"api_name": "_**AddMeeting**_", "input": {"token": "a9s8d7f6g5h4j3k2l1", "meeting_topic": "Meeting with John", "start_time": "2023-07-10 14:00:00", "end_time": "2023-07-10 15:00:00", "location": "meeting room", "attendees": ["John"]}, "output": "success", "exception": null}}
{"role": "AI", "text": "Done! The meeting has been scheduled."}

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.