Spaces:
Sleeping
Sleeping
Commit
·
9a0c7ad
1
Parent(s):
5542b80
added examples
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ class MyRAGPipeline:
|
|
| 116 |
#MODEL_NAME = 'meta-llama/Llama-3.2-1B-Instruct'
|
| 117 |
MODEL_NAME = "meta-llama/Llama-3.1-8B-Instruct"
|
| 118 |
EMBEDDING_NAME = 'Qwen/Qwen3-Embedding-0.6B'
|
| 119 |
-
VECDB_PATH = 'index/'
|
| 120 |
|
| 121 |
# Initialize the RAG system globally so it doesn't reload on every message
|
| 122 |
try:
|
|
@@ -141,7 +141,7 @@ demo = gr.ChatInterface(
|
|
| 141 |
type="messages",
|
| 142 |
title="Legal RAG Assistant",
|
| 143 |
description="Ask a question about the legal documents indexed in the database.",
|
| 144 |
-
examples=["Can the mayor move outside of the city limits?", "What are the zoning laws?"]
|
| 145 |
)
|
| 146 |
|
| 147 |
if __name__ == "__main__":
|
|
|
|
| 116 |
#MODEL_NAME = 'meta-llama/Llama-3.2-1B-Instruct'
|
| 117 |
MODEL_NAME = "meta-llama/Llama-3.1-8B-Instruct"
|
| 118 |
EMBEDDING_NAME = 'Qwen/Qwen3-Embedding-0.6B'
|
| 119 |
+
VECDB_PATH = './index/'
|
| 120 |
|
| 121 |
# Initialize the RAG system globally so it doesn't reload on every message
|
| 122 |
try:
|
|
|
|
| 141 |
type="messages",
|
| 142 |
title="Legal RAG Assistant",
|
| 143 |
description="Ask a question about the legal documents indexed in the database.",
|
| 144 |
+
examples=["Can the mayor move outside of the city limits?", "What are the zoning laws?", "Is there a maximum building height?","How do I pay a parking ticket?", "How many chickens can I own?"]
|
| 145 |
)
|
| 146 |
|
| 147 |
if __name__ == "__main__":
|