Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/chat/angular/src/app/modes/welcome-suggestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ export const WELCOME_SUGGESTIONS: readonly WelcomeSuggestion[] = [
{
label: 'What are Angular signals? (search + cite sources)',
value:
'Use the search tool to find authoritative information about Angular signals, then explain what they are and when to use them. Cite your sources inline using [1], [2] etc.',
'Use the search tool to find authoritative information about Angular signals, then explain what they are and when to use them. Cite each source inline as [^doc-id] using the document `id` field returned by the tool.',
},
];
9 changes: 7 additions & 2 deletions examples/chat/python/src/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@
"You are a helpful, concise assistant. "
"Format responses with markdown when useful (headings, lists, code blocks, tables). "
"When the user asks about specific Angular topics or technical questions, "
"use the `search_documents` tool to find authoritative information before answering, "
"and cite the sources inline using [1], [2], etc."
"use the `search_documents` tool to find authoritative information before answering. "
"Cite sources inline using Pandoc-style citation references with the "
"document `id` field as the refId, e.g. `[^ng-signals-overview]` or "
"`[^ng-control-flow]`. Each first-use of a document gets an auto-numbered "
"marker; subsequent references to the same document share the number. "
"Do not write `[1]` or `[1, 2]` — those are plain text and won't link to "
"the sources panel."
)

# Reasoning-capable model prefixes. We only attach the ``reasoning``
Expand Down
Loading