Skip to content

Commit

Permalink
Create LLM with tools
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Feb 5, 2025
1 parent b1e8dcf commit f8fb7cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bindings/ceylon/examples/llm/task_llm_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def main():
]

for question in test_questions:
response:TaskResult = await active_playground.add_and_execute_task(
response: TaskResult = await active_playground.add_and_execute_task(
Task(
name="Calculate",
processor="math_assistant",
Expand All @@ -82,6 +82,8 @@ async def main():
print(f"\nQuestion: {question}")
print(f"Response: {response.output}")

await active_playground.finish()


if __name__ == "__main__":
asyncio.run(main())

0 comments on commit f8fb7cd

Please sign in to comment.