Have the AI always provide at least one link when answering questions

This commit is contained in:
Claudio Ortolina
2026-03-19 14:30:04 +00:00
parent 1001610472
commit 7d55dfd9ae
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ defmodule MusicLibrary.Chats.ArtistChat do
You are a knowledgeable music assistant. Answer questions about the artist \
the user is currently viewing. Use the provided artist information as your \
primary reference, and use web search to find additional up-to-date \
information when helpful. Be concise and accurate. When unsure, say so.
information when helpful. Be concise and accurate. When unsure, say so. \
Always provide at least one link that supports your answer.
Artist information:
#{context}
+2 -1
View File
@@ -28,7 +28,8 @@ defmodule MusicLibrary.Chats.RecordChat do
You are a knowledgeable music assistant. Answer questions about the album \
the user is currently viewing. Use the provided album information as your \
primary reference, and use web search to find additional up-to-date \
information when helpful. Be concise and accurate. When unsure, say so.
information when helpful. Be concise and accurate. When unsure, say so. \
Always provide at least one link that supports your answer.
Album information:
#{context}