Skip to content

Commit

Permalink
Merge pull request #2 from comet-ml/abby/small_changes
Browse files Browse the repository at this point in the history
small changes, mostly utms
  • Loading branch information
jverre authored Sep 6, 2024
2 parents 189254f + 555e8d8 commit 65ba694
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/howtos/applications/tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export LANGCHAIN_API_KEY=<your-api-key>
export LANGCHAIN_PROJECT=<your-project> # if not specified, defaults to "default"
```

Now we have to import the required tracer from langchain, here we are using `LangChainTracer` but you can similarly use any tracer supported by langchain like [WandbTracer](https://python.langchain.com/docs/integrations/providers/wandb_tracing) or [OpikTracer](https://comet.com/docs/opik/tracing/integrations/ragas?utm_source=ragas&utm_medium=docs&utm_content=tracing_how_to)
Now we have to import the required tracer from langchain, here we are using `LangChainTracer` but you can similarly use any tracer supported by langchain like [WandbTracer](https://python.langchain.com/docs/integrations/providers/wandb_tracing) or [OpikTracer](https://comet.com/docs/opik/tracing/integrations/ragas?utm_source=ragas&utm_medium=github&utm_campaign=opik&utm_content=tracing_how_to)

```{code-block} python
# langsmith
Expand Down
8 changes: 4 additions & 4 deletions docs/howtos/integrations/opik.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"\n",
"## Setup\n",
"\n",
"[Comet](https://www.comet.com/site) provides a hosted version of the Opik platform, [simply create an account](https://www.comet.com/signup?from=llm) and grab you API Key.\n",
"[Comet](https://www.comet.com/site?utm_medium=github&utm_source=ragas&utm_campaign=opik) provides a hosted version of the Opik platform, [simply create an account](https://www.comet.com/signup?from=llm&utm_medium=github&utm_source=ragas&utm_campaign=opik) and grab you API Key.\n",
"\n",
"> You can also run the Opik platform locally, see the [installation guide](https://www.comet.com/docs/opik/self-host/self_hosting_opik/) for more information."
"> You can also run the Opik platform locally, see the [installation guide](https://www.comet.com/docs/opik/self-host/self_hosting_opik?utm_medium=github&utm_source=ragas&utm_campaign=opik/) for more information."
]
},
{
Expand Down Expand Up @@ -56,7 +56,7 @@
"source": [
"## Preparing our environment\n",
"\n",
"First, we will install the necessary libraries, configure the OpenAI API key and create a new Opik dataset"
"First, we will install the necessary libraries, configure the OpenAI API key and create a new Opik dataset."
]
},
{
Expand Down Expand Up @@ -247,7 +247,7 @@
"\n",
"If you looking at evaluating a dataset, you can use the Ragas `evaluate` function. When using this function, the Ragas library will compute the metrics on all the rows of the dataset and return a summary of the results.\n",
"\n",
"You can use the OpikTrace callback to log the results of the evaluation to the Opik platform. For this we will configure the OpikTracer"
"You can use the OpikTracer callback to log the results of the evaluation to the Opik platform. For this we will configure the OpikTracer"
]
},
{
Expand Down

0 comments on commit 65ba694

Please sign in to comment.