From eaaae732094ca9fa08d8edd73c9aacf9201e81d3 Mon Sep 17 00:00:00 2001 From: Tereza Tizkova Date: Sat, 28 Sep 2024 14:14:09 +0200 Subject: [PATCH] Add better management of .env variables --- .../presentation_agent/llama_index/.env.example | 7 ++++--- .../presentation_agent/llama_index/.gitignore | 1 + .../presentation_agent/llama_index/agentops.log | 4 ++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 python/examples/quickstarters/presentation_agent/llama_index/.gitignore create mode 100644 python/examples/quickstarters/presentation_agent/llama_index/agentops.log diff --git a/python/examples/quickstarters/presentation_agent/llama_index/.env.example b/python/examples/quickstarters/presentation_agent/llama_index/.env.example index 2e335b8255..21f8b58b5a 100644 --- a/python/examples/quickstarters/presentation_agent/llama_index/.env.example +++ b/python/examples/quickstarters/presentation_agent/llama_index/.env.example @@ -1,3 +1,4 @@ -OPENAI_API_KEY=KEY -GROQ_API_KEY=KEY -COMPOSIO_API_KEY=KEY #if you have done composio login, you dont need this \ No newline at end of file +OPENAI_API_KEY="KEY" +GROQ_API_KEY="KEY" +COMPOSIO_API_KEY="KEY" #if you have done composio login, you dont need this +AGENTOPS_API_KEY="KEY" \ No newline at end of file diff --git a/python/examples/quickstarters/presentation_agent/llama_index/.gitignore b/python/examples/quickstarters/presentation_agent/llama_index/.gitignore new file mode 100644 index 0000000000..4c49bd78f1 --- /dev/null +++ b/python/examples/quickstarters/presentation_agent/llama_index/.gitignore @@ -0,0 +1 @@ +.env diff --git a/python/examples/quickstarters/presentation_agent/llama_index/agentops.log b/python/examples/quickstarters/presentation_agent/llama_index/agentops.log new file mode 100644 index 0000000000..c4067ae54c --- /dev/null +++ b/python/examples/quickstarters/presentation_agent/llama_index/agentops.log @@ -0,0 +1,4 @@ +2024-09-28 14:10:26,660 - WARNING - Only Anthropic>=0.32.0 supported. v0.28.0 found. +2024-09-28 14:10:27,885 - INFO - Session Replay: https://app.agentops.ai/drilldown?session_id=1766b6c3-7c2a-405e-bd48-b05912dad972 +2024-09-28 14:10:31,560 - INFO - Analytics for this run - LLM calls: 0 | Tool calls: 0 | Actions: 0 | Errors: 0 | Duration: 2.6s | Cost: $0.00 +2024-09-28 14:10:31,561 - INFO - Session Replay: https://app.agentops.ai/drilldown?session_id=1766b6c3-7c2a-405e-bd48-b05912dad972