-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: poetry, env variables, favicon (#218)
- Loading branch information
Showing
11 changed files
with
77 additions
and
23 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: "Environment Variables" | ||
description: "Environment Variables that AgentOps will look for" | ||
--- | ||
|
||
### Sample .env file | ||
|
||
```.env | ||
# API KEY for using AgentOps. Find this in your settings page | ||
AGENTOPS_API_KEY=<YOUR API KEY> | ||
# Secondary API Key for simultaneously recording to a second project | ||
AGENTOPS_PARENT_KEY=<YOUR PARENT KEY> | ||
# The AgentOps API endpoint. Defaults to https://api.agentops.ai | ||
AGENTOPS_API_ENDPOINT=https://api.agentops.ai | ||
# Logging level. <DEBUG, INFO, CRITICAL> | ||
AGENTOPS_LOGGING_LEVEL=INFO | ||
# Whether to opt out of recording environment data. <FALSE, TRUE> | ||
AGENTOPS_ENV_DATA_OPT_OUT=FALSE | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,21 @@ title: "Tracking LLM Calls" | |
description: "Tracking LLM Calls using the AgentOps SDK" | ||
--- | ||
|
||
When the AgentOps SDK detects the `openai` as an installable module, it will automatically | ||
start tracking OpenAI calls by instrumenting chat completions to track their usage. | ||
### How it works | ||
|
||
When the AgentOps SDK detects the `openai`, `litellm`, or `cohere` as installed modules, it will automatically | ||
start tracking their usage. No further work is required from you! 😊 | ||
|
||
### Not working? | ||
|
||
Try these steps: | ||
1. Make sure you have the latest version of the AgentOps SDK installed. We are constantly updating it to support new LLM libraries and releases. | ||
2. Make sure you are calling `agentops.init()` *after* importing the LLM module but *before* you are calling the LLM method. | ||
3. Make sure the `instrument_llm_calls` parameter of `agentops.init()` is set to `True` (default). | ||
|
||
Still not working? Please let us know! You can find us on [Discord](https://discord.gg/DR2abmETjZ), | ||
[GitHub](https://github.com/AgentOps-AI/agentops), | ||
or email us at [[email protected]](mailto:[email protected]). | ||
|
||
To get started, just follow the quick start guide. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters