camparchimedes commited on
Commit
a09f786
ยท
verified ยท
1 Parent(s): 1023f65

Update chainlit.md

Browse files
Files changed (1) hide show
  1. chainlit.md +19 -20
chainlit.md CHANGED
@@ -1,22 +1,21 @@
1
- # Part 2: ๐——๐—ฎ๐˜†๐˜€๐—ผ๐—ณ๐—ณ ๐—”๐˜€๐˜€๐—ถ๐˜€๐˜๐—ฎ๐—ป๐˜ ส€แด€วซแด€-แด›ยน ๐Ÿš€
2
 
3
- This code defines an application using the chainlit framework for setting up a RetrievalQA chain for the Daysoff Assistant.
4
-
5
- ## Architecture
6
- - FAISS index for FAQ and privacy policy embeddings
7
- - RetrievalQA chain
8
- - LocalFileStore for caching
9
- ## Data Pipeline
10
- 1. CSV loading with LangChain document loaders
11
- 2. Text chunking using RecursiveCharacterTextSplitter
12
- 3. OpenAIEmbeddings for vector transformation
13
- 4. Metadata-retention for improved response control.
14
- ## Prompt Engineering
15
- - System template for RAG context
16
- - Human template for query formatting
17
- - ChatPromptTemplate for inference
18
- ## Chainlit Framework
19
- - Async message handling
20
- - User session management
21
- - Interface deployment
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ![image](./public/daysoff_booking(2_1).jpg)
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
+ ### Welcome to ๐——๐—ฎ๐˜†๐˜€๐—ผ๐—ณ๐—ณ ๐˜™๐˜ฆ๐˜ต๐˜ณ๐˜ช๐˜ฆ๐˜ท๐˜ข๐˜ญ๐˜˜๐˜ˆ ๐—”๐˜€๐˜€๐—ถ๐˜€๐˜๐—ฎ๐—ป๐˜๐Ÿค“
5
+
6
+
7
+ This project defines a Retrieval-Augmented Question Answering (ส€แด€วซแด€-แด›ยน) system using FAISS as vector store. The Assistant is designed to handle frequently asked questions (FAQs) related to `firmahytteordning` and `personvernspolicy` for Daysoff.
8
+
9
+
10
+ **Features:**๐Ÿ“Œ
11
+ - *semantic search across company policy documents*
12
+ - *context-aware question answering*
13
+ - *easy-to-use conversational interface*
14
+
15
+ *Stack:*๐Ÿ’ป
16
+ **Data pipeline:** LangChain document loaders, LocalFileStore
17
+ **Indexing strategy:** FAISS
18
+ **QA Chain:** RetrievalQA chain (LangChain)
19
+ **Embeddings:** OpenAIEmbeddings
20
+ **Interface:** Chainlit
21
+ **Deployment platform:** Hugging Face Spaces