Skip to content

Commit b515f78

Browse files
nit
1 parent d31cff2 commit b515f78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/onyx/prompts/kg_prompts.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,8 @@
579579
If a SQL search is chosen, i.e., documents have to be identified first, there are two approaches:
580580
1. SIMPLE: You think you can answer the question using a database that is aware of the entities, relationships \
581581
above, and is generally suitable if it is enough to either list or count entities, return dates, etc. Usually, \
582-
'SIMPLE' is chosen for questions of the form 'how many...' (always), or 'list the...' (often), 'when was...', etc.
582+
'SIMPLE' is chosen for questions of the form 'how many...' (always), or 'list the...' (often), 'when was...', \
583+
'what did (someone) work on...'etc.
583584
2. DEEP: You think you really should ALSO leverage the actual text of sources to answer the question, which sits \
584585
in a vector database. Examples are 'what is discussed in...', 'summarize', 'what is the discussion about...',\
585586
'how does... relate to...', 'are there any mentions of... in..', 'what are the main points in...', \

0 commit comments

Comments
 (0)