File size: 1,227 Bytes
d74d03f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Rajasthan Tourism Chatbot

This is a RAG-powered chatbot that provides information about tourism in Rajasthan, India. The application uses Groq LLM for text generation and supports multiple languages.

## Features

- Question answering about Rajasthan tourism
- Multi-language support (English, Hindi, Spanish, French, German, Tamil)
- Text-to-speech output in the selected language
- Quick access buttons for common tourism queries
- RAG (Retrieval Augmented Generation) integration using FastEmbed and FAISS

## Technical Details

- Built with LangChain and Groq API
- Uses FastEmbed for embedding generation
- Semantic chunking for better text segmentation
- FAISS vector database for efficient similarity search
- Gradio for the user interface

## Required API Key

This application requires a Groq API key to function. The key should be added as a secret in Hugging Face Spaces.

## Usage

1. Select your preferred language from the dropdown
2. Use the quick access buttons for common queries
3. Or type your own question in the text field
4. Listen to the audio response by clicking the play button

## Data Sources

The chatbot is trained on tourism information about Rajasthan, stored in the TourismChatbot.pdf file.