Skip to content

Commit 8042036

Browse files
committed
Install opik from local files
1 parent 38a71df commit 8042036

18 files changed

+18
-18
lines changed

apps/opik-documentation/documentation/docs/cookbook/evaluate_hallucination_metric.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"metadata": {},
2727
"outputs": [],
2828
"source": [
29-
"%pip install opik pyarrow fsspec huggingface_hub --upgrade --quiet"
29+
"%pip install . pyarrow fsspec huggingface_hub --upgrade --quiet"
3030
]
3131
},
3232
{

apps/opik-documentation/documentation/docs/cookbook/evaluate_hallucination_metric.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For this guide we will be evaluating the Hallucination metric included in the LL
1010
1111

1212
```python
13-
%pip install opik pyarrow fsspec huggingface_hub --upgrade --quiet
13+
%pip install . pyarrow fsspec huggingface_hub --upgrade --quiet
1414
```
1515

1616

apps/opik-documentation/documentation/docs/cookbook/llama-index.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
37-
"%pip install opik llama-index llama-index-agent-openai llama-index-llms-openai --upgrade --quiet"
37+
"%pip install . llama-index llama-index-agent-openai llama-index-llms-openai --upgrade --quiet"
3838
]
3939
},
4040
{

apps/opik-documentation/documentation/docs/cookbook/llama-index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For this guide we will be downloading the essays from Paul Graham and use them a
1818
1919

2020
```python
21-
%pip install opik llama-index llama-index-agent-openai llama-index-llms-openai --upgrade --quiet
21+
%pip install . llama-index llama-index-agent-openai llama-index-llms-openai --upgrade --quiet
2222
```
2323

2424

apps/opik-documentation/documentation/docs/quickstart.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Getting started is as simple as creating an [account on Comet](https://www.comet
1919
Once your account is created, you can start logging traces by installing the Opik Python SDK:
2020

2121
```bash
22-
pip install opik
22+
pip install .
2323
```
2424

2525
and configuring the SDK with:

apps/opik-documentation/documentation/docs/self-host/local_deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Opik will now be available at <a href="http://localhost:5173" target="_blank">ht
3737
In order to use the Opik Python SDK with your local Opik instance, you will need to run:
3838

3939
```bash
40-
pip install opik
40+
pip install .
4141

4242
opik configure --use_local
4343
```

apps/opik-documentation/documentation/docs/tracing/integrations/anthropic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This guide explains how to integrate Opik with the Anthropic Python SDK. By usin
2222
To start tracking your Anthropic LLM calls, you'll need to have both the `opik` and `anthropic`. You can install them using pip:
2323

2424
```bash
25-
pip install opik anthropic
25+
pip install . anthropic
2626
```
2727

2828
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/bedrock.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This guide explains how to integrate Opik with the Bedrock Python SDK. By using
2222
To start tracking your Bedrock LLM calls, you'll need to have both the `opik` and `boto3`. You can install them using pip:
2323

2424
```bash
25-
pip install opik boto3
25+
pip install . boto3
2626
```
2727

2828
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/gemini.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sidebar_label: Gemini - Google AI Studio
2020
To start tracking your Gemini LLM calls, you can use our [LiteLLM integration](/docs/opik/tracing/integrations/litellm). You'll need to have both the `opik`, `litellm` and `google-generativeai` packages installed. You can install them using pip:
2121

2222
```bash
23-
pip install opik litellm google-generativeai
23+
pip install . litellm google-generativeai
2424
```
2525

2626
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/groq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sidebar_label: Groq
2020
To start tracking your Groq LLM calls, you can use our [LiteLLM integration](/docs/opik/tracing/integrations/litellm). You'll need to have both the `opik` and `litellm` packages installed. You can install them using pip:
2121

2222
```bash
23-
pip install opik litellm
23+
pip install . litellm
2424
```
2525

2626
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/langchain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Opik provides seamless integration with LangChain, allowing you to easily log an
1818
To use the `OpikTracer` with LangChain, you'll need to have both the `opik` and `langchain` packages installed. You can install them using pip:
1919

2020
```bash
21-
pip install opik langchain langchain_openai
21+
pip install . langchain langchain_openai
2222
```
2323

2424
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/langgraph.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Opik provides a seamless integration with LangGraph, allowing you to easily log
1818
To use the [`OpikTracer`](https://www.comet.com/docs/opik/python-sdk-reference/integrations/langchain/OpikTracer.html) with LangGraph, you'll need to have both the `opik` and `langgraph` packages installed. You can install them using pip:
1919

2020
```bash
21-
pip install opik langgraph
21+
pip install . langgraph
2222
```
2323

2424
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/litellm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sidebar_label: LiteLLM
1414
First, ensure you have both `opik` and `litellm` packages installed:
1515

1616
```bash
17-
pip install opik litellm
17+
pip install . litellm
1818
```
1919

2020
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/llama_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sidebar_label: LlamaIndex
2525
To use the Opik integration with LlamaIndex, you'll need to have both the `opik` and `llama_index` packages installed. You can install them using pip:
2626

2727
```bash
28-
pip install opik llama-index llama-index-agent-openai llama-index-llms-openai
28+
pip install . llama-index llama-index-agent-openai llama-index-llms-openai
2929
```
3030

3131
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/openai.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This guide explains how to integrate Opik with the OpenAI Python SDK. By using t
1818
First, ensure you have both `opik` and `openai` packages installed:
1919

2020
```bash
21-
pip install opik openai
21+
pip install . openai
2222
```
2323

2424
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/ragas.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ There are two main ways to use Ragas with Opik:
2323
You will first need to install the `opik` and `ragas` packages:
2424

2525
```bash
26-
pip install opik ragas
26+
pip install . ragas
2727
```
2828

2929
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/integrations/watsonx.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sidebar_label: watsonx
2020
To start tracking your watsonx LLM calls, you can use our [LiteLLM integration](/docs/opik/tracing/integrations/litellm). You'll need to have both the `opik` and `litellm` packages installed. You can install them using pip:
2121

2222
```bash
23-
pip install opik litellm
23+
pip install . litellm
2424
```
2525

2626
In addition, you can configure Opik using the `opik configure` command which will prompt you for the correct local server address or if you are using the Cloud platfrom your API key:

apps/opik-documentation/documentation/docs/tracing/log_traces.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In order to use the Opik Python SDK, you will need to install it and configure i
3737

3838
```bash
3939
# Install the SDK
40-
pip install opik
40+
pip install .
4141

4242
# Configure the SDK
4343
opik configure

0 commit comments

Comments
 (0)