Search through FAQs using natural language queries. The system uses Typesense to provide fast and relevant search results for frequently asked questions.
āāā src/
ā āāā data/
ā ā āāā faqData.jsonl # FAQ data in JSONL format
ā āāā components/
ā ā āāā ChatMessage.tsx # Message component for Q&A display
ā āāā lib/
ā ā āāā searchFAQ.ts # FAQ search functionality
ā ā āāā typesense.ts # Typesense client configuration
ā āāā App.tsx # Main application component
To run this project locally:
npm run start:typesense # or: docker compose up
or
docker compose up
npm run index:typesense
npm run dev
Open http://localhost:5173 to see the app š
See .env.example for required environment variables:
TYPESENSE_API_KEY=your_api_key
TYPESENSE_HOST=localhost
TYPESENSE_PORT=8108
TYPESENSE_PROTOCOL=http
This project was created by Ajoy Sarker, a Full Stack Web Developer specializing in: