Spaces:
Paused
Paused
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -17,7 +17,7 @@ PHOENIX_CLIENT_HEADERS = "api_key = " + os.environ["PHOENIX_API_KEY"]
|
|
| 17 |
PHOENIX_COLLECTOR_ENDPOINT = "https://app.phoenix.arize.com"
|
| 18 |
|
| 19 |
tracer_provider = register(
|
| 20 |
-
project_name = "
|
| 21 |
endpoint = "https://app.phoenix.arize.com/v1/traces"
|
| 22 |
)
|
| 23 |
|
|
@@ -35,9 +35,7 @@ def run_agent(question, file_name):
|
|
| 35 |
WikipediaSearchTool()],
|
| 36 |
verbosity_level = 1
|
| 37 |
)
|
| 38 |
-
|
| 39 |
-
print(PHOENIX_CLIENT_HEADERS)
|
| 40 |
-
|
| 41 |
return agent.run(question)
|
| 42 |
|
| 43 |
#answer = agent.run(question)
|
|
|
|
| 17 |
PHOENIX_COLLECTOR_ENDPOINT = "https://app.phoenix.arize.com"
|
| 18 |
|
| 19 |
tracer_provider = register(
|
| 20 |
+
project_name = "default",
|
| 21 |
endpoint = "https://app.phoenix.arize.com/v1/traces"
|
| 22 |
)
|
| 23 |
|
|
|
|
| 35 |
WikipediaSearchTool()],
|
| 36 |
verbosity_level = 1
|
| 37 |
)
|
| 38 |
+
|
|
|
|
|
|
|
| 39 |
return agent.run(question)
|
| 40 |
|
| 41 |
#answer = agent.run(question)
|