@builder.io/ai-utils
Advanced tools
Comparing version 0.0.64 to 0.0.65
@@ -49,7 +49,2 @@ import type { BuilderContent, BuilderElement, Component } from "@builder.io/sdk"; | ||
/** | ||
* Persist the thread conversation context. | ||
* Defaults to `true`. | ||
*/ | ||
persistThread?: boolean; | ||
/** | ||
* Additional console logs | ||
@@ -80,2 +75,16 @@ */ | ||
}; | ||
/** | ||
* Option on how this call should handle the conversation thread. | ||
* | ||
* `persist`: | ||
* - When there is no CompletionOptions `id`, it'll create a new thread id | ||
* - When given an existing `id`, it'll look up the past thread messages and prefix the messages | ||
* | ||
* `ephemeral`: | ||
* - Creates a new conversation each time, ignoring any existing thread history | ||
* - Will not save the conversation for future use | ||
* | ||
* Defaults to `persist` | ||
*/ | ||
thread?: "persist" | "ephemeral"; | ||
} | ||
@@ -82,0 +91,0 @@ export interface BuilderEditorState { |
{ | ||
"name": "@builder.io/ai-utils", | ||
"version": "0.0.64", | ||
"version": "0.0.65", | ||
"description": "Builder.io AI utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
28553
933