Skip to content
Snippets Groups Projects

Add MergeRequestReader to chat

Merged Gosia Ksionek requested to merge mk-mr-for-chat into master
All threads resolved!
Compare and Show latest version
7 files
+ 47
11
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -15,13 +15,13 @@ def serialize_for_ai(user:, content_limit:)
})
end
def current_page_sentence
def current_page_sentence(*)
<<~SENTENCE
The user is currently on a page that displays an epic with a description, comments, etc., which the user might refer to, for example, as 'current', 'this' or 'that'. The data is provided in <resource></resource> tags, and if it is sufficient in answering the question, utilize it instead of using the 'EpicReader' tool.
SENTENCE
end
def current_page_short_description
def current_page_short_description(*)
<<~SENTENCE
The user is currently on a page that displays an epic with a description, comments, etc., which the user might refer to, for example, as 'current', 'this' or 'that'. The title of the epic is '#{resource.title}'. Remember to use the 'EpicReader' tool if they ask a question about the epic.
SENTENCE
Loading