-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #980 from Avaiga/demo_rag
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
--- | ||
title: RAG Chatbot | ||
category: llm | ||
data-keywords: vizelement ai | ||
short-description: A chatbot to ask questions about pdf files using RAG | ||
img: 8_rag_chatbot/images/rag_screen.png | ||
--- | ||
This demo showcases Taipy's ability to enable end-users to run inference using LLMs. | ||
Here, we use Langchain to query Mistral's LLM model hosted on HuggingFace to ask questions | ||
about PDF files using RAG. | ||
|
||
[Get it on GitHub](https://github.com/Avaiga/demo-gpt-4o/tree/rag){: .tp-btn .tp-btn--accent target='blank' } | ||
|
||
# Understanding the Application | ||
|
||
This application uses RAG (Retrieval-Augmented Generation) to answer questions about PDF files. | ||
The user can upload his PDF files in a specific folder and ask questions about them on | ||
the Taipy interface. This project uses Langchain to query Mistral's LLM model hosted on HuggingFace, but this can be easily adapted to other models or APIs. | ||
|
||
{width=100% : .tp-image-border } | ||
|
||
A tutorial on how to write similar | ||
LLM inference applications is available | ||
[here](../../../tutorials/fundamentals/4_chatbot/index.md). |
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