mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-17 06:58:09 +01:00
LLM planner, not perfect but ok
This commit is contained in:
17
tools/find_events.py
Normal file
17
tools/find_events.py
Normal file
@@ -0,0 +1,17 @@
|
||||
def find_events(args: dict) -> dict:
|
||||
# Example: continent="Oceania", month="April"
|
||||
continent = args.get("continent")
|
||||
month = args.get("month")
|
||||
print(f"[FindEvents] Searching events in {continent} for {month} ...")
|
||||
|
||||
# Stub result
|
||||
return {
|
||||
"eventsFound": [
|
||||
{
|
||||
"city": "Melbourne",
|
||||
"eventName": "Melbourne International Comedy Festival",
|
||||
"dates": "2025-03-26 to 2025-04-20",
|
||||
},
|
||||
],
|
||||
"status": "found-events",
|
||||
}
|
||||
Reference in New Issue
Block a user