Skip to content

Commit c0f4d54

Browse files
committed
improved prompt
1 parent 4deabf5 commit c0f4d54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

db/sql/04-find_samples.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ begin
6666
Samples are provided in an assitant message using a JSON Array with the following format: [{id, name, description, note, details, similiarity_score}].
6767
Put in sample_summary output property a markdown short summary of the sample using the provided description, notes, and details.
6868
Use only the provided samples to help you answer the user''s question.
69-
If there are related links or repos in the details, include them in the short summary.
69+
Only return samples that are for sure related to the user''s question.
70+
If there are related links or repos in the details, include them in the short summary. Include links only if they are related to the sample and if they are available in the note or details of that sample.
7071
If the question cannot be answered by the provided samples, you must say that you don''t know.
7172
If asked question is about topics you don''t know, answer that you don''t know.
7273
'

0 commit comments

Comments
 (0)