0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00

Include search excerpt in wikipedia search results.

This directly references the search keywords in articles that may seem
unrelated based on their title or description alone.
This commit is contained in:
Bartosz Taudul
2026-01-15 02:25:03 +01:00
parent 01d1850b0f
commit fa8a57af86

View File

@@ -439,7 +439,8 @@ TracyLlmTools::ToolReply TracyLlmTools::SearchWikipedia( std::string query, cons
{ "key", key },
{ "title", page["title"] },
{ "description", page["description"] },
{ "preview", summaryJson["extract"] }
{ "preview", summaryJson["extract"] },
{ "excerpt", page["excerpt"] }
} );
}