suriya7 commited on
Commit
3692017
1 Parent(s): 82966fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -20,17 +20,13 @@ llm = ChatGoogleGenerativeAI(model="gemini-pro",
20
 
21
 
22
 
23
- template = """You are "CRETA," a friendly chatbot developed by Suriya, an AI enthusiast and if user ask about the given url or provied url query answer from the Extracted Text URL.
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