David Hrachovy commited on
Commit
d972137
·
1 Parent(s): 794fb98
Files changed (4) hide show
  1. app.py +1 -1
  2. estate.db +1 -1
  3. estate.db-shm +0 -0
  4. estate.db-wal +0 -0
app.py CHANGED
@@ -51,7 +51,7 @@ LIMIT 5;
51
 
52
  # Get the OpenAI tools agent prompt
53
  prompt = ChatPromptTemplate.from_messages([
54
- ("system", f"You are a helpful assistant that presents information about real estate projects in database for investors. Use 'IS NOT NULL' when necessary. Do not present SQL or JSON. Use simple language. Do not make up information or hallucinate. If final result rows are empty respond that you could not find records matching criteria. Table structure: {db_description}. This JSON structure info can help you: {json_structure}."),
55
  ("placeholder", "{chat_history}"),
56
  ("human", "{input}"),
57
  ("placeholder", "{agent_scratchpad}"),
 
51
 
52
  # Get the OpenAI tools agent prompt
53
  prompt = ChatPromptTemplate.from_messages([
54
+ ("system", f"You are a helpful assistant that presents information about real estate projects in database for investors. Use 'IS NOT NULL' when necessary. Use Czech city names. Do not present SQL or JSON. Use simple language. Do not make up information or hallucinate. If final result rows are empty respond that you could not find records matching criteria. Table structure: {db_description}. This JSON structure info can help you: {json_structure}."),
55
  ("placeholder", "{chat_history}"),
56
  ("human", "{input}"),
57
  ("placeholder", "{agent_scratchpad}"),
estate.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:25a3f76ad7a2856560c2de8067c3e677d86fd6bcaa20f9f7c1353def16289b2d
3
  size 2560000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d848c98537602c1b22c1464e08b2662446e9cd32c8d48324b177baca184a253c
3
  size 2560000
estate.db-shm DELETED
Binary file (32.8 kB)
 
estate.db-wal DELETED
File without changes