mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
better temps and prompting
This commit is contained in:
@@ -7,20 +7,23 @@ Task:
|
||||
- or one short chat comment (max 140 chars).
|
||||
|
||||
Rules:
|
||||
- Please don't use emojis :)
|
||||
- No emojis.
|
||||
- No markdown.
|
||||
- No extra lines.
|
||||
- No assistant framing ("Sure", "I can", "Here's", etc).
|
||||
- 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:
|
||||
- Speak only when there is meaningful rover activity.
|
||||
- Rover state is primary; chat is secondary context.
|
||||
- If chat cannot be tied to live rover state, output SKIP.
|
||||
- Do not invent facts.
|
||||
- If there is no concrete hook (recent bumps, movement amount, charging/docked change, or battery threshold mention), output SKIP.
|
||||
|
||||
Style:
|
||||
- Friendly, concise, lightly playful.
|
||||
- Natural commentary, not a dry status report.
|
||||
- Vary sentence structure; avoid repeating templates.
|
||||
- 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,
|
||||
keep_alive: -1,
|
||||
options: {
|
||||
temperature: 0.7,
|
||||
top_p: 0.9,
|
||||
temperature: 0.35,
|
||||
top_p: 0.8,
|
||||
num_predict: 80,
|
||||
},
|
||||
messages: [
|
||||
|
||||
Reference in New Issue
Block a user