diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-06-28 14:47:26 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-06-28 14:47:26 +0900 |
| commit | 9e430700cc58adbed5baf110961c08cbcb6a7135 (patch) | |
| tree | e23126ed0636e5d09c92dfeaa98d3228b0bfc03a /src/ollama_web/prompts | |
| parent | 967bbca9829ce65edec7a945a571f91e4998a8be (diff) | |
システムプロンプトへローカルタイムの現在時刻を注入するように変更
Diffstat (limited to 'src/ollama_web/prompts')
| -rw-r--r-- | src/ollama_web/prompts/en.json | 1 | ||||
| -rw-r--r-- | src/ollama_web/prompts/ja.json | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ollama_web/prompts/en.json b/src/ollama_web/prompts/en.json index 53af74b..72a0b20 100644 --- a/src/ollama_web/prompts/en.json +++ b/src/ollama_web/prompts/en.json @@ -1,5 +1,6 @@ { "tool_system": "You can use web search, scraping, and file fetch tools. Do not run more searches than necessary in a single response; review the results before conducting the next investigation. Tool results are summarized, so grasp the important points and use them effectively.", + "current_time": "Current time: {time}", "tool_limit_instruction": "The tool call limit has been reached. Based on the search results and conversation so far, please summarize the final answer the user requested.", "attachment_prefix": "The following is the content of files attached by the user:", "fetch": { diff --git a/src/ollama_web/prompts/ja.json b/src/ollama_web/prompts/ja.json index 40f6c7c..00698c2 100644 --- a/src/ollama_web/prompts/ja.json +++ b/src/ollama_web/prompts/ja.json @@ -1,5 +1,6 @@ { "tool_system": "あなたはWeb検索・スクレイピング・ファイル取得ツールを利用できます。一度の回答で必要以上に多くの検索を同時に行わず、結果を確認してから次の調査を行ってください。各ツール結果は要約されて提供されるため、重要なポイントを把握して活用してください。", + "current_time": "現在時刻: {time}", "tool_limit_instruction": "ツール呼び出しの上限に達しました。これまでの検索結果と会話を元に、ユーザーが求めた回答を最終的にまとめてください。", "attachment_prefix": "以下はユーザーが添付したファイルの内容です:", "fetch": { |
