wip
This commit is contained in:
parent
c304758791
commit
d972e25547
1 changed files with 1 additions and 3 deletions
|
|
@ -36,9 +36,7 @@ async def invoke_tool(tool_name: str, **kwargs):
|
||||||
@tool
|
@tool
|
||||||
async def get_team_roster(team_name: str):
|
async def get_team_roster(team_name: str):
|
||||||
"""Get the current roster for a specific team."""
|
"""Get the current roster for a specific team."""
|
||||||
search_result = await graphiti_client.search(f'{team_name.lower()}', num_results=1)
|
search_result = await graphiti_client.search(f'{team_name.lower()}', num_results=10)
|
||||||
print(search_result)
|
|
||||||
print(team_name.lower())
|
|
||||||
roster = []
|
roster = []
|
||||||
for fact in search_result:
|
for fact in search_result:
|
||||||
roster.append(fact)
|
roster.append(fact)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue