-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5612134
commit fa347f1
Showing
8 changed files
with
74 additions
and
61 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
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 |
---|---|---|
@@ -1,31 +1,21 @@ | ||
# Embeddable JavaScript Snippet | ||
|
||
This is the **key feature** of our conversational search RAG (Retrieval-Augmented Generation) app. | ||
|
||
With little effort, you can integrate our conversational search window into your website by copying and embedding a simple JavaScript code snippet. This widget, typically placed at the bottom right corner of your site, facilitates instant responses to product-related queries. | ||
|
||
What if you could integrate a conversational search window into your website to facilitate instant responses to product-related queries? With the embeddable JavaScript snippet, you can do just that. This feature allows you to copy and embed a simple JavaScript code snippet into your website, typically placed at the bottom right corner of your site. | ||
|
||
## How to Embed | ||
|
||
To embed the JavaScript snippet, follow these steps: | ||
|
||
1. Enter Settings > JavaScript, and copy the JavaScript code snippet like this: | ||
|
||
![embeddable-javascript-snippet](https://github.com/user-attachments/assets/e743af11-d19c-4219-a1ae-0e618c51abdb) | ||
|
||
![embeddable-javascript-snippet](https://github.com/user-attachments/assets/5322dc31-d4d5-492f-87dd-dd976c245ac3) | ||
|
||
2. Paste the JavaScript code snippet into your website's HTML file; | ||
|
||
3. Initialize the JavaScript snippet with input parameters like `Widget Title`, `Site Name`, `Search Titles`, `Example Questions`, `Footer Links`, and `Social Media Links`; | ||
|
||
4. Restart your website to see the conversational search window appear at the bottom right corner of your site. | ||
|
||
![embeddable-javascript-snippet](https://github.com/pingcap/autoflow/assets/1237528/5a445231-a27a-4ae6-8287-a4f8cf7b64d0 "Image Title") | ||
|
||
|
||
|
||
|
||
That's all you need to do to integrate our conversational search window into your website. Enjoy! | ||
|
||
![embeddable-javascript-snippet](https://github.com/user-attachments/assets/f0dc82db-c14d-4863-a242-c7da3a719568 "Image Title") | ||
|
||
You can also go to https://tidb.ai to experience the live demo. | ||
That's all you need to do to integrate our conversational search window into your website. Enjoy! You can also go to https://tidb.ai and https://docs.pingcap.com to see the chat window in action. |
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
17 changes: 14 additions & 3 deletions
17
frontend/app/src/pages/docs/videos.mdx → frontend/app/src/pages/docs/resources.mdx
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 |
---|---|---|
@@ -1,9 +1,20 @@ | ||
# Videos | ||
# Resources | ||
|
||
Here are some videos tutorials help you to understand the basics of the platform and how to use it. | ||
|
||
## Presentation: Intro to TiDB (Graph) RAG | ||
> Agenda: | ||
> - Intro to TiDB RAG / Graph RAG | ||
> - How it works? | ||
> - Vector RAG + Graph RAG + Fulltext Search(WIP) | ||
> - Plan-able RAG engine - ngaut/StackVM | ||
> - Benefits of using TiDB for AI app storage | ||
> - How to copy one? | ||
## Intro to Post-Verification and Graph Search | ||
Google Slides: [Intro to TiDB (Graph) RAG](https://docs.google.com/presentation/d/1uK9oOW3QGHiNoqYUpFRqHPN4J_FvB2qeDsmAFMKASaY/edit?usp=sharing) | ||
|
||
## Video: Intro to PingCAP/AutoFlow Post-Verification and Graph Search | ||
> This video will show you how to use the platform to search(from graph) for information and verify the results. | ||
> We introduce a new feature called Post-Verification which allows you to verify the results and correct them if needed. | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/Hbj9TvRKTZw?si=cxc7lya28cQJWMlD" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/Hbj9TvRKTZw?si=cxc7lya28cQJWMlD" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> | ||