mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-28 18:42:16 +00:00
FIX: No need for XML in gists responses anymore (#1420)
This commit is contained in:
parent
cb94fa5e1c
commit
b54db133cd
@ -89,9 +89,7 @@ module DiscourseAi
|
|||||||
context << "Your task is to capture the meaning of the initial statement."
|
context << "Your task is to capture the meaning of the initial statement."
|
||||||
end
|
end
|
||||||
|
|
||||||
[{ type: :user, content: <<~TEXT.strip }]
|
[{ type: :user, content: context }]
|
||||||
#{context} Return the 40-word summary inside <ai></ai> tags.
|
|
||||||
TEXT
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user