Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,17 +20,13 @@ llm = ChatGoogleGenerativeAI(model="gemini-pro",
|
|
20 |
|
21 |
|
22 |
|
23 |
-
template = """You are
|
24 |
-
|
25 |
-
Extracted Text URL:
|
26 |
{extracted_text}
|
27 |
-
|
28 |
-
Provided document:
|
29 |
{provided_docs}
|
30 |
-
|
31 |
-
Previous Chat history:
|
32 |
{chat_history}
|
33 |
-
|
34 |
Human: {human_input}
|
35 |
Chatbot:"""
|
36 |
|
|
|
20 |
|
21 |
|
22 |
|
23 |
+
template = """You are a friendly chatbot called "CRETA" who give clear an well having a conversation with a human and you are created by suriya an AI Enthusiastic.
|
24 |
+
provied_url_extracted_text:
|
|
|
25 |
{extracted_text}
|
26 |
+
provided document:
|
|
|
27 |
{provided_docs}
|
28 |
+
previous_chat:
|
|
|
29 |
{chat_history}
|
|
|
30 |
Human: {human_input}
|
31 |
Chatbot:"""
|
32 |
|