diff --git a/package.json b/package.json index ff74ddb..03f447a 100644 --- a/package.json +++ b/package.json @@ -38,5 +38,6 @@ }, "peerDependencies": { "typescript": "^5" - } + }, + "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39" } diff --git a/packages/ai/src/assistant-sdk/assistant-sdk.ts b/packages/ai/src/assistant-sdk/assistant-sdk.ts index 0070c0a..e22a158 100644 --- a/packages/ai/src/assistant-sdk/assistant-sdk.ts +++ b/packages/ai/src/assistant-sdk/assistant-sdk.ts @@ -33,10 +33,11 @@ ${maxTokens ? `### Max Response Length: ${maxTokens} tokens (maximum)` : ''} 1. Use knowledge provided in the current context as the primary source of truth. 2. Format all responses in Markdown. 3. Attribute external sources with footnotes. +4. Do not bold headers. ## Examples #### Example 0 -**Human**: What is this? -**Assistant**: This is a conversational AI system. +HUMAN: What is this? +ASSISTANT: This is a conversational AI system. --- ${AssistantSdk.useFewshots(selectedFewshots, 5)} --- @@ -48,7 +49,7 @@ Continuously monitor the evolving conversation. Dynamically adapt each response. return Object.entries(fewshots) .slice(0, limit) .map(([q, a], i) => { - return `#### Example ${i + 1}\n**Human**: ${q}\n**Assistant**: ${a}`; + return `#### Example ${i + 1}\nHUMAN: ${q}\nASSISTANT: ${a}`; }) .join('\n---\n'); } diff --git a/packages/ai/src/prompts/few_shots.ts b/packages/ai/src/prompts/few_shots.ts index ae0041c..9e65c78 100644 --- a/packages/ai/src/prompts/few_shots.ts +++ b/packages/ai/src/prompts/few_shots.ts @@ -90,7 +90,7 @@ const d = { ~~~javascript console.log(marked.parse('A Description List:\\n' + ': Topic 1 : Description 1\\n' - + ': **Topic 2** : *Description 2*')); + + ': Topic 2 : Description 2')); ~~~ ## Tables | Name | Value | @@ -103,7 +103,7 @@ console.log(marked.parse('A Description List:\\n' ## Horizontal Rule --- ## Font: Bold and Italic -**Bold Text** +**Bold Text** *Italic Text* ## Font: Strikethrough ~~Struck-through text~~ diff --git a/packages/ai/src/types/package.json b/packages/ai/src/types/package.json index fc96de2..3bf159b 100644 --- a/packages/ai/src/types/package.json +++ b/packages/ai/src/types/package.json @@ -2,4 +2,4 @@ "name": "@open-gsio/types", "type": "module", "module": "index.ts" -} \ No newline at end of file +} diff --git a/packages/coordinators/README.md b/packages/coordinators/README.md index efc18b8..83090a3 100644 --- a/packages/coordinators/README.md +++ b/packages/coordinators/README.md @@ -1,3 +1,3 @@ # durable_objects - This package exports implementations of durable objects \ No newline at end of file +This package exports implementations of durable objects diff --git a/packages/coordinators/package.json b/packages/coordinators/package.json index 4295d51..3b07f3d 100644 --- a/packages/coordinators/package.json +++ b/packages/coordinators/package.json @@ -10,4 +10,4 @@ "peerDependencies": { "typescript": "^5" } -} \ No newline at end of file +} diff --git a/packages/schema/package.json b/packages/schema/package.json index 13e1e35..40bd1c2 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -22,4 +22,4 @@ "typescript": "^5.7.2", "mobx-state-tree": "^6.0.1" } -} \ No newline at end of file +} diff --git a/packages/server/README.md b/packages/server/README.md index 7100772..9e7893c 100644 --- a/packages/server/README.md +++ b/packages/server/README.md @@ -1,3 +1,3 @@ # @open-gsio/server -This directory contains a bun server component of open-gsio. Static files are not being served yet. \ No newline at end of file +This directory contains a bun server component of open-gsio. Static files are not being served yet. diff --git a/packages/services/README.md b/packages/services/README.md index 4dff337..0142e0b 100644 --- a/packages/services/README.md +++ b/packages/services/README.md @@ -1,3 +1,3 @@ # @open-gsio/services -A service layer powered by mobx-state-tree. \ No newline at end of file +A service layer powered by mobx-state-tree.