@squidcloud/client 1.0.208 → 1.0.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,6 +61,12 @@ export declare class AiChatbotProfileReference {
|
|
|
61
61
|
* that has been received so far.
|
|
62
62
|
*/
|
|
63
63
|
chat(prompt: string, options?: AiChatbotChatOptions): Observable<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Sends a prompt to the current profile and returns the response as a Promise of string.
|
|
66
|
+
* @param prompt - The prompt.
|
|
67
|
+
* @param options - The chat options.
|
|
68
|
+
*/
|
|
69
|
+
ask(prompt: string, options?: Omit<AiChatbotChatOptions, 'smoothTyping'>): Promise<string>;
|
|
64
70
|
/**
|
|
65
71
|
* Retrieves a context reference for the current profile. A context reference can be used to add a new context entry
|
|
66
72
|
* to the profile, or update/delete an existing entry context.
|