mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-09 11:48:47 +00:00
FEATURE: Try to hone search so it reduces search terms in subsequent rounds (#95)
Teach via system message that you can reduce search terms to get more results
This commit is contained in:
parent
a028309cbd
commit
f8cabfad6b
@ -73,7 +73,11 @@ module DiscourseAi::AiBot::Commands
|
|||||||
end
|
end
|
||||||
|
|
||||||
def custom_system_message
|
def custom_system_message
|
||||||
"You were trained on OLD data, lean on search to get up to date information about this forum"
|
<<~TEXT
|
||||||
|
You were trained on OLD data, lean on search to get up to date information about this forum
|
||||||
|
When searching try to SIMPLIFY search terms
|
||||||
|
Discourse search joins all terms with AND. Reduce and simplify terms to find more results.
|
||||||
|
TEXT
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user