Spaces:
Runtime error
Runtime error
Commit
·
b996609
1
Parent(s):
9b3f2e9
Updates app
Browse files
app.py
CHANGED
@@ -26,18 +26,6 @@ split_documents_NIST = text_splitter.split_texts(documents_NIST)
|
|
26 |
split_documents_Blueprint = text_splitter.split_texts(documents_Blueprint)
|
27 |
|
28 |
|
29 |
-
# query = "What is the NIST definition of AI?"
|
30 |
-
# response = vector_db.search_by_text(query, k=3)
|
31 |
-
# print(response)
|
32 |
-
|
33 |
-
# user_prompt_template = "{content}"
|
34 |
-
# user_role_prompt = UserRolePrompt(user_prompt_template)
|
35 |
-
# system_prompt_template = (
|
36 |
-
# "You are an expert in {expertise}, you always answer in a kind way."
|
37 |
-
# )
|
38 |
-
# system_role_prompt = SystemRolePrompt(system_prompt_template)
|
39 |
-
|
40 |
-
|
41 |
RAG_PROMPT_TEMPLATE = """ \
|
42 |
Use the provided context to answer the user's query.
|
43 |
|
|
|
26 |
split_documents_Blueprint = text_splitter.split_texts(documents_Blueprint)
|
27 |
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
RAG_PROMPT_TEMPLATE = """ \
|
30 |
Use the provided context to answer the user's query.
|
31 |
|