Skip to content

Commit

Permalink
Adding LlamaIndex documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
HowieG committed Aug 15, 2024
1 parent df980fb commit 33c437c
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,31 @@ response = await litellm.acompletion(model="claude-3", messages=messages)

### LlamaIndex 🦙

(Coming Soon)

AgentOps works seamlessly with applications built using LlamaIndex, a framework for building context-augmented generative AI applications with LLMs.

<details>
<summary>Installation</summary>

```shell
pip install llama-index-instrumentation-agentops
```

To use the handler, import and set

```python
from llama_index.core import set_global_handler

# NOTE: Feel free to set your AgentOps environment variables (e.g., 'AGENTOPS_API_KEY')
# as outlined in the AgentOps documentation, or pass the equivalent keyword arguments
# anticipated by AgentOps' AOClient as **eval_params in set_global_handler.

set_global_handler("agentops")
```

Check out the [LlamaIndex docs](https://docs.llamaindex.ai/en/stable/module_guides/observability/?h=agentops#agentops) for more details.

</details>

## Time travel debugging 🔮

Expand Down

0 comments on commit 33c437c

Please sign in to comment.