diff --git a/docs/docs/examples/create-record.mdx b/docs/docs/examples/create-record.mdx index 22d36abd3..7858ca783 100644 --- a/docs/docs/examples/create-record.mdx +++ b/docs/docs/examples/create-record.mdx @@ -15,6 +15,3 @@ The **Create Data** component allows you to dynamically create a `Data` from a s > -import ThemedImage from "@theme/ThemedImage"; import useBaseUrl from "@docusaurus/useBaseUrl"; -import ZoomableImage from "/src/theme/ZoomableImage.js"; import ReactPlayer from -"react-player"; import Admonition from "@theme/Admonition"; diff --git a/docs/docs/starter-projects/vector-store-rag.mdx b/docs/docs/starter-projects/vector-store-rag.mdx index c4862f642..d718fbf2e 100644 --- a/docs/docs/starter-projects/vector-store-rag.mdx +++ b/docs/docs/starter-projects/vector-store-rag.mdx @@ -106,16 +106,4 @@ AI You should use a 3/8 inch wrench to remove the oil drain cap. ``` -This is the size the engine manual lists as well. This confirms our flow works, because the query returns the unique knowledge we embedded from the Astra vector store.import ThemedImage from "@theme/ThemedImage"; -import useBaseUrl from "@docusaurus/useBaseUrl"; -import ZoomableImage from "/src/theme/ZoomableImage.js"; -import ReactPlayer from "react-player"; -import Admonition from "@theme/Admonition";import ThemedImage from "@theme/ThemedImage"; -import useBaseUrl from "@docusaurus/useBaseUrl"; -import ZoomableImage from "/src/theme/ZoomableImage.js"; -import ReactPlayer from "react-player"; -import Admonition from "@theme/Admonition";import ThemedImage from "@theme/ThemedImage"; -import useBaseUrl from "@docusaurus/useBaseUrl"; -import ZoomableImage from "/src/theme/ZoomableImage.js"; -import ReactPlayer from "react-player"; -import Admonition from "@theme/Admonition"; +This is the size the engine manual lists as well. This confirms our flow works, because the query returns the unique knowledge we embedded from the Astra vector store. diff --git a/docs/docs/tutorials/rag-with-astradb.mdx b/docs/docs/tutorials/rag-with-astradb.mdx index 867c32f53..8d0fbd41e 100644 --- a/docs/docs/tutorials/rag-with-astradb.mdx +++ b/docs/docs/tutorials/rag-with-astradb.mdx @@ -41,7 +41,7 @@ Once you have created an account, you will be taken to the Astra DB dashboard. C alt="Docusaurus themed image" sources={{ light: "img/astra-create-database.png", - dark: "img/astra-create-database.png" + dark: "img/astra-create-database.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -54,7 +54,7 @@ After you have configured your database, click on the **Create Database** button alt="Docusaurus themed image" sources={{ light: "img/astra-configure-deployment.png", - dark: "img/astra-configure-deployment.png" + dark: "img/astra-configure-deployment.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -65,7 +65,7 @@ Once your database is initialized, to the right of the page, you will see the _D alt="Docusaurus themed image" sources={{ light: "img/astra-generate-token.png", - dark: "img/astra-generate-token.png" + dark: "img/astra-generate-token.png", }} style={{ width: "50%", margin: "20px auto" }} /> @@ -97,7 +97,7 @@ The ingestion flow consists of: alt="Docusaurus themed image" sources={{ light: "img/astra-ingestion-flow.png", - dark: "img/astra-ingestion-flow.png" + dark: "img/astra-ingestion-flow.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -108,7 +108,7 @@ Now, let's update the **Astra DB** and **Astra DB Search** components with the * alt="Docusaurus themed image" sources={{ light: "img/astra-ingestion-fields.png", - dark: "img/astra-ingestion-fields.png" + dark: "img/astra-ingestion-fields.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -119,7 +119,7 @@ And run it! This will ingest the Text data from your file into the Astra DB data alt="Docusaurus themed image" sources={{ light: "img/astra-ingestion-run.png", - dark: "img/astra-ingestion-run.png" + dark: "img/astra-ingestion-run.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -141,7 +141,7 @@ The RAG flow is a bit more complex. It consists of: alt="Docusaurus themed image" sources={{ light: "img/astra-rag-flow.png", - dark: "img/astra-rag-flow.png" + dark: "img/astra-rag-flow.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -152,7 +152,7 @@ To run it all we have to do is click on the **![Playground icon](/logos/botmessa alt="Docusaurus themed image" sources={{ light: "img/astra-rag-flow-run.png", - dark: "img/astra-rag-flow-run.png" + dark: "img/astra-rag-flow-run.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -165,7 +165,7 @@ Because this flow has a **Chat Input** and a **Text Output** component, the Pane alt="Docusaurus themed image" sources={{ light: "img/astra-rag-flow-interaction-panel.png", - dark: "img/astra-rag-flow-interaction-panel.png" + dark: "img/astra-rag-flow-interaction-panel.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -176,7 +176,7 @@ Once we interact with it we get a response and the Extracted Chunks section is u alt="Docusaurus themed image" sources={{ light: "img/astra-rag-flow-interaction-panel-interaction.png", - dark: "img/astra-rag-flow-interaction-panel-interaction.png" + dark: "img/astra-rag-flow-interaction-panel-interaction.png", }} style={{ width: "80%", margin: "20px auto" }} /> @@ -186,7 +186,4 @@ And that's it! You have successfully ran a RAG application using Astra DB and La # Conclusion In this guide, we have learned how to run a RAG application using Astra DB and Langflow. -We have seen how to create an Astra DB database, import the Astra DB RAG Flows project into Langflow, and run the ingestion and RAG flows.import ThemedImage from "@theme/ThemedImage"; -import useBaseUrl from "@docusaurus/useBaseUrl"; -import ZoomableImage from "/src/theme/ZoomableImage.js"; -import Admonition from "@theme/Admonition"; +We have seen how to create an Astra DB database, import the Astra DB RAG Flows project into Langflow, and run the ingestion and RAG flows.