Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

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

Stefan Bokarev4f119692f15a
diff --git a/docs/images/helicone-embedchain.png b/docs/images/helicone-embedchain.png
new file mode 100644
index 000000000..05f61d73c
Binary files /dev/null and b/docs/images/helicone-embedchain.png differ
diff --git a/docs/integration/helicone.mdx b/docs/integration/helicone.mdx
new file mode 100644
index 000000000..a5a33445a
--- /dev/null
+++ b/docs/integration/helicone.mdx
@@ -0,0 +1,52 @@
+---
+title: "🧊 Helicone"
+description: "Implement Helicone, the open-source LLM observability platform, with Embedchain. Monitor, debug, and optimize your AI applications effortlessly."
+"twitter:title": "Helicone LLM Observability for Embedchain"
+---
+
+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!
diff --git a/docs/mint.json b/docs/mint.json
index 02eecd96f..0f70941ac 100644
--- a/docs/mint.json
+++ b/docs/mint.json
@@ -19,9 +19,7 @@
"modeToggle": {
"default": "dark"
},
- "openapi": [
- "/rest-api.json"
- ],
+ "openapi": ["/rest-api.json"],
"metadata": {
"og:image": "/images/og.png",
"twitter:site": "@embedchain"
@@ -70,7 +68,8 @@
"integration/langsmith",
"integration/chainlit",
"integration/streamlit-mistral",
- "integration/openlit"
+ "integration/openlit",
+ "integration/helicone"
]
}
]
@@ -132,13 +131,13 @@
{
"group": "🗄️ Vector databases",
"pages": [
- "components/vector-databases/chromadb",
- "components/vector-databases/elasticsearch",
- "components/vector-databases/pinecone",
- "components/vector-databases/opensearch",
- "components/vector-databases/qdrant",
- "components/vector-databases/weaviate",
- "components/vector-databases/zilliz"
+ "components/vector-databases/chromadb",
+ "components/vector-databases/elasticsearch",
+ "components/vector-databases/pinecone",
+ "components/vector-databases/opensearch",
+ "components/vector-databases/qdrant",
+ "components/vector-databases/weaviate",
+ "components/vector-databases/zilliz"
]
},
"components/llms",
@@ -161,9 +160,7 @@
},
{
"group": "Community",
- "pages": [
- "community/connect-with-us"
- ]
+ "pages": ["community/connect-with-us"]
},
{
"group": "Examples",
@@ -203,9 +200,7 @@
},
{
"group": "Showcase",
- "pages": [
- "examples/showcase"
- ]
+ "pages": ["examples/showcase"]
},
{
"group": "API Reference",
@@ -241,9 +236,7 @@
},
{
"group": "Product",
- "pages": [
- "product/release-notes"
- ]
+ "pages": ["product/release-notes"]
}
],
"footerSocials": {
@@ -281,4 +274,4 @@
"destination": "/get-started/introduction"
}
]
-}
\ No newline at end of file
+}