Skip to content
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

[Docs]: Add Integration for 🧊 Helicone (LLM-Observability for Developers) #1458

Merged
merged 3 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Binary file added docs/images/helicone-embedchain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions docs/integration/helicone.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: '🧊 Helicone'
deshraj marked this conversation as resolved.
Show resolved Hide resolved
description: 'LLM Observability that just works'
---
Get started with [Helicone](https://www.helicone.ai/), the open-source LLM observability platform for developers to monitor, debug, and optimize their applications.

To use Helicone, you need to do the following steps.

## Integration Steps

<Steps>
<Step title="Create an account + Generate an API Key">
Log into [Helicone](https://www.helicone.ai) or create an account. Once you have an account, you
can generate an [API key](https://helicone.ai/developer).

<Note>
Make sure to generate a [write only API key](helicone-headers/helicone-auth).
</Note>

</Step>
<Step title="Set base_url in the your code">
You can configure your base_url and OpenAI API key in your codebase
<CodeGroup>

```python main.py
import os
from embedchain import App

# Modify the base path and add a Helicone URL
os.environ["OPENAI_API_BASE"] = "https://oai.helicone.ai/{YOUR_HELICONE_API_KEY}/v1"
# Add your OpenAI API Key
os.environ["OPENAI_API_KEY"] = "{YOUR_OPENAI_API_KEY}"

app = App()

# Add data to your app
app.add("https://en.wikipedia.org/wiki/Elon_Musk")

# Query your app
print(app.query("How many companies did Elon found? Which companies?"))
```

</CodeGroup>
</Step>
<Step title="Now you can see all passing requests through Embedchain in Helicone">
<img src="/images/helicone-embedchain.png" alt="Embedchain requests" />
</Step>
</Steps>

Check out [Helicone](https://www.helicone.ai) to see more use cases!
1 change: 1 addition & 0 deletions docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
{
"group": "🔗 Integrations",
"pages": [
"integration/helicone",
Dev-Khant marked this conversation as resolved.
Show resolved Hide resolved
"integration/langsmith",
"integration/chainlit",
"integration/streamlit-mistral",
Expand Down