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:
@@ -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"] }
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user