-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: embedded inkeep + share link (#1033)
- Loading branch information
1 parent
6e085cf
commit a7ad233
Showing
7 changed files
with
80 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import dynamic from "next/dynamic"; | ||
import { InkeepEmbeddedChatProps } from "@inkeep/uikit"; | ||
import useInkeepSettings from "./useInkeepSettings"; | ||
|
||
const EmbeddedChat = dynamic( | ||
() => import("@inkeep/uikit").then((mod) => mod.InkeepEmbeddedChat), | ||
{ | ||
ssr: false, | ||
loading: () => <div>loading...</div>, // optional: loading animation component | ||
} | ||
); | ||
|
||
function InkeepEmbeddedChat() { | ||
const { baseSettings, aiChatSettings } = useInkeepSettings(); | ||
|
||
const embeddedChatProps: InkeepEmbeddedChatProps = { | ||
baseSettings, | ||
aiChatSettings, | ||
}; | ||
|
||
return <EmbeddedChat {...embeddedChatProps} />; | ||
} | ||
|
||
export default InkeepEmbeddedChat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Ask AI | ||
description: Ask AI | ||
--- | ||
|
||
# Ask AI | ||
|
||
The Langfuse AI assistant helps you find answers about Langfuse's features, integrations, and best practices. It's trained on our documentation, GitHub discussions/issues, and API, and can help you with: | ||
|
||
- Understanding Langfuse's core features like tracing, prompt management, and evaluations | ||
- Getting started with our SDKs and integrations | ||
- Finding relevant code examples and implementation guides | ||
- Troubleshooting common issues | ||
- Learning about best practices for LLM observability and evaluation | ||
|
||
_If you are looking for the interactive Langfuse demo, please visit [langfuse.com/demo](/demo)._ | ||
|
||
import InkeepEmbeddedChat from "@/components/inkeep/InkeepEmbeddedChat"; | ||
|
||
<div className="h-10" /> | ||
<InkeepEmbeddedChat /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,24 @@ description: "The Langfuse team and community can help you with questions and is | |
Discussions](/gh-support). | ||
</Callout> | ||
|
||
## Finding an answer to your question | ||
|
||
- Our [documentation](/docs) is the best place to start looking for answers. It is comprehensive, and we invest significant time into maintaining it. You can also suggest edits to the docs via GitHub. | ||
- [Langfuse FAQs](/faq) where the most common questions are answered. | ||
- Use the "Ask AI" chat `widget` to get instant answers to your questions: | ||
|
||
import InkeepEmbeddedChat from "@/components/inkeep/InkeepEmbeddedChat"; | ||
|
||
<div className="h-5" /> | ||
<InkeepEmbeddedChat /> | ||
|
||
## Support Channels | ||
|
||
- **Ask any question in our [public Q&A](/gh-support) on GitHub Discussions.** Please include as much detail as possible (e.g. code snippets, screenshots, background information) to help us understand your question. | ||
- [Request a feature](/ideas) on GitHub Discussions. | ||
- [Report a Bug](/issues) on GitHub Issues. | ||
- For time-sensitive queries, ping us via the in-app chat widget. | ||
|
||
## Finding an answer to your question | ||
|
||
- Our [documentation](/docs) is the best place to start looking for answers. It is comprehensive, and we invest significant time into maintaining it. You can also suggest edits to the docs via GitHub. You can use our [Docs Chatbot](/demo) to ask questions about the docs. | ||
- [Langfuse FAQs](/faq) where the most common questions are answered. | ||
|
||
### Recent GitHub Discussions | ||
|
||
import { GhDiscussionsPreview } from "@/components/gh-discussions/GhDiscussionsPreview"; | ||
|
@@ -33,6 +39,8 @@ import { GhDiscussionsPreview } from "@/components/gh-discussions/GhDiscussionsP | |
|
||
## Community Discord | ||
|
||
[![Discord](https://img.shields.io/discord/1111061815649124414?style=flat&logo=discord&logoColor=white)](/discord) | ||
|
||
Over 1,700 users are on our [Discord Server](/discord). It's a great place to ask questions, share your projects, and get to know other Langfuse users. | ||
|
||
Please note: The Langfuse team does not provide dedicated support on Discord. Please use our [GitHub Discussions](/ideas) or Email ([email protected]) if your request is sensitive. Feel free to cross-post from GitHub to Discord to raise awareness for your issue or question. | ||
|