diff --git a/docs/images/helicone-embedchain.png b/docs/images/helicone-embedchain.png new file mode 100644 index 00000000..05f61d73 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 00000000..a5a33445 --- /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 + + + + 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). + + + Make sure to generate a [write only API key](helicone-headers/helicone-auth). + + + + +You can configure your base_url and OpenAI API key in your codebase + + +```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?")) +``` + + + + + Embedchain requests + + + +Check out [Helicone](https://www.helicone.ai) to see more use cases! diff --git a/docs/mint.json b/docs/mint.json index 02eecd96..0f70941a 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 +}