Skip to content

docs: update installation instructions and add available extras for t… #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 46 additions & 2 deletions openllmetry/getting-started-python.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,62 @@ You can also check out our full working example of a RAG pipeline with Pinecone

Run the following command in your terminal:

To install all optional dependencies, use the `all` tag:
<CodeGroup>

```bash pip
pip install traceloop-sdk
pip install "traceloop-sdk[all]"
```

```bash poetry
poetry add traceloop-sdk
poetry add "traceloop-sdk[all]"
```

</CodeGroup>

Alternatively, you can install specific extras by listing them as a comma-separated list:
<CodeGroup>

```bash pip
pip install "traceloop-sdk[ollama,langchain]"
```

```bash poetry
poetry add "traceloop-sdk[ollama,langchain]"
```

</CodeGroup>

### Available Extras

- `mistralai` = `opentelemetry-instrumentation-mistralai`
- `openai` = `opentelemetry-instrumentation-openai`
- `ollama` = `opentelemetry-instrumentation-ollama`
- `anthropic` = `opentelemetry-instrumentation-anthropic`
- `cohere` = `opentelemetry-instrumentation-cohere`
- `crewai` = `opentelemetry-instrumentation-crewai`
- `google-generativeai` = `opentelemetry-instrumentation-google-generativeai`
- `pinecone` = `opentelemetry-instrumentation-pinecone`
- `qdrant` = `opentelemetry-instrumentation-qdrant`
- `langchain` = `opentelemetry-instrumentation-langchain`
- `lancedb` = `opentelemetry-instrumentation-lancedb`
- `chromadb` = `opentelemetry-instrumentation-chromadb`
- `transformers` = `opentelemetry-instrumentation-transformers`
- `together` = `opentelemetry-instrumentation-together`
- `llamaindex` = `opentelemetry-instrumentation-llamaindex`
- `milvus` = `opentelemetry-instrumentation-milvus`
- `haystack` = `opentelemetry-instrumentation-haystack`
- `bedrock` = `opentelemetry-instrumentation-bedrock`
- `sagemaker` = `opentelemetry-instrumentation-sagemaker`
- `replicate` = `opentelemetry-instrumentation-replicate`
- `vertexai` = `opentelemetry-instrumentation-vertexai`
- `watsonx` = `opentelemetry-instrumentation-watsonx`
- `weaviate` = `opentelemetry-instrumentation-weaviate`
- `alephalpha` = `opentelemetry-instrumentation-alephalpha`
- `marqo` = `opentelemetry-instrumentation-marqo`
- `groq` = `opentelemetry-instrumentation-groq`
- `mcp` = `opentelemetry-instrumentation-mcp`

In your LLM app, initialize the Traceloop tracer like this:

```python
Expand Down