aboutsummaryrefslogtreecommitdiff
path: root/config/wiki/wiki-search.json
diff options
context:
space:
mode:
authorOxbian <oxbian@mailbox.org>2025-05-17 23:30:07 -0400
committerOxbian <oxbian@mailbox.org>2025-05-17 23:30:07 -0400
commitfecb211130ec487c7c617d28419c6d0097f19783 (patch)
treeade91c5eefb7d9af6f68357f897d4b670f325f81 /config/wiki/wiki-search.json
parentdd9808b10c98c28a493eac78742fc403efc70e32 (diff)
downloadNAI-fecb211130ec487c7c617d28419c6d0097f19783.tar.gz
NAI-fecb211130ec487c7c617d28419c6d0097f19783.zip
feat: wikipedia module
Diffstat (limited to 'config/wiki/wiki-search.json')
-rw-r--r--config/wiki/wiki-search.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/config/wiki/wiki-search.json b/config/wiki/wiki-search.json
new file mode 100644
index 0000000..7ebfff6
--- /dev/null
+++ b/config/wiki/wiki-search.json
@@ -0,0 +1,30 @@
+{
+ "url": "http://127.0.0.1:11434/api/chat",
+ "model": "llama3.2",
+ "system_prompt": "You are a research assistant. Use the search_engine tool to generate four distinct search queries that will help gather a broad range of information related to the user's query. Each query should focus on a different aspect or angle of the topic.",
+ "tools": [
+ {
+ "type": "function",
+ "function": {
+ "name": "search_engine",
+ "description": "A Wikipedia search engine. Generate four distinct search queries to maximize the spread of search results.",
+ "parameters": {
+ "type": "object",
+ "properties": {
+ "queries": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "A distinct search query focusing on a specific aspect of the topic."
+ },
+ "minItems": 4,
+ "maxItems": 4,
+ "description": "Four distinct search queries to maximize the spread of search results."
+ }
+ },
+ "required": ["queries"]
+ }
+ }
+ }
+ ]
+}
ArKa projects. All rights to me, and your next child right arm.