mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 10:00:46 -04:00
better temps and prompting
This commit is contained in:
@@ -7,20 +7,23 @@ Task:
|
|||||||
- or one short chat comment (max 140 chars).
|
- or one short chat comment (max 140 chars).
|
||||||
|
|
||||||
Rules:
|
Rules:
|
||||||
- Please don't use emojis :)
|
- No emojis.
|
||||||
- No markdown.
|
- No markdown.
|
||||||
- No extra lines.
|
- No extra lines.
|
||||||
- No assistant framing ("Sure", "I can", "Here's", etc).
|
- No assistant framing ("Sure", "I can", "Here's", etc).
|
||||||
- Do not mention prompts, AI, or system rules.
|
- Do not mention prompts, AI, or system rules.
|
||||||
|
- Avoid generic filler lines (examples to avoid: "out for a spin", "got some drive left", "charging up nicely").
|
||||||
|
|
||||||
How to decide:
|
How to decide:
|
||||||
- Speak only when there is meaningful rover activity.
|
- Speak only when there is meaningful rover activity.
|
||||||
- Rover state is primary; chat is secondary context.
|
- Rover state is primary; chat is secondary context.
|
||||||
- If chat cannot be tied to live rover state, output SKIP.
|
- If chat cannot be tied to live rover state, output SKIP.
|
||||||
- Do not invent facts.
|
- Do not invent facts.
|
||||||
|
- If there is no concrete hook (recent bumps, movement amount, charging/docked change, or battery threshold mention), output SKIP.
|
||||||
|
|
||||||
Style:
|
Style:
|
||||||
- Friendly, concise, lightly playful.
|
- Friendly, concise, lightly playful.
|
||||||
- Natural commentary, not a dry status report.
|
- Natural commentary, not a dry status report.
|
||||||
- Vary sentence structure; avoid repeating templates.
|
- Vary sentence structure; avoid repeating templates.
|
||||||
- Ground every non-SKIP line in concrete snapshot state.
|
- Ground every non-SKIP line in concrete snapshot state.
|
||||||
|
- Every non-SKIP line must include at least one specific detail from snapshot (a rover name, driver nickname, number, or explicit state like charging/docked).
|
||||||
|
|||||||
@@ -348,8 +348,8 @@ async function generateCommentary(systemPrompt, snapshot) {
|
|||||||
stream: false,
|
stream: false,
|
||||||
keep_alive: -1,
|
keep_alive: -1,
|
||||||
options: {
|
options: {
|
||||||
temperature: 0.7,
|
temperature: 0.35,
|
||||||
top_p: 0.9,
|
top_p: 0.8,
|
||||||
num_predict: 80,
|
num_predict: 80,
|
||||||
},
|
},
|
||||||
messages: [
|
messages: [
|
||||||
|
|||||||
Reference in New Issue
Block a user