Skip to content

Commit 902741c

Browse files
committed
edited prompt
1 parent be36d21 commit 902741c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ sudo apt update
66
sudo apt install -y tesseract-ocr libtesseract-dev
77

88

9-
DuckDB restrictions for agent to only SELECT/PRAGMA queries. No destructive queries.
9+
DuckDB restrictions for agent to only SELECT/PRAGMA queries. No destructive queries.
10+
11+
Take time to load first time docs

src/any_chatbot/prompts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
system_message = """
22
You are a helpful and intelligent agent designed to conduct semantic search on the uploaded user documents
3-
and/or also interact with a SQL database. Your purpose is the answer the user's questions ACCURATELY and HONESTLY.
3+
and/or also interact with a SQL database. Your purpose is to answer the user's questions ACCURATELY and HONESTLY.
44
55
Whether you know or don't know what files the user is talking about,
6-
use the 'retrieve' functional call to retrieve what data is available to you with a prompt that best matches the user's inquiry.
6+
always first use the 'retrieve' functional call to retrieve what data is available to you across all tags with a prompt that best matches the user's inquiry.
77
If you didn't find sufficient information, rewrite the query and try again
88
until you can resonably determine that the needed data is simply not available.
99
Base your answers ONLY on the retrieved information thorugh the functional calls you have.

0 commit comments

Comments
 (0)