@vendasta/ai-assistants 0.19.0 → 0.21.0

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.
@@ -308,6 +308,7 @@ export interface CreatePromptModuleVersionRequestOptionsInterface {
308
308
  export interface GenerateChatAnswerRequestOptionsInterface {
309
309
  includeAllCitations?: boolean;
310
310
  enableAsyncFunctions?: boolean;
311
+ maxTokens?: number;
311
312
  }
312
313
  export interface SetAssistantConnectionsRequestInterface {
313
314
  associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
@@ -1,4 +1,5 @@
1
1
  import { GoalInterface } from './goal.interface';
2
+ import { KeyValuePairInterface } from './common.interface';
2
3
  import { NamespaceInterface } from './namespace.interface';
3
4
  import * as e from '../enums';
4
5
  export interface AssistantInterface {
@@ -20,6 +21,7 @@ export interface ConfigInterface {
20
21
  }
21
22
  export interface ConfigurableGoalInterface {
22
23
  goal?: GoalInterface;
24
+ configuration?: KeyValuePairInterface[];
23
25
  }
24
26
  export interface DeepgramConfigInterface {
25
27
  voice?: string;
@@ -2,9 +2,9 @@ export { NamespaceAccountGroupNamespaceInterface, NamespaceAccountGroupsForGroup
2
2
  export { FunctionInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, } from './function.interface';
3
3
  export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, PromptVersionInterface, } from './prompt.interface';
4
4
  export { GoalInterface, GoalKeyInterface, } from './goal.interface';
5
+ export { KeyValuePairInterface, } from './common.interface';
5
6
  export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
6
7
  export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
7
- export { KeyValuePairInterface, } from './common.interface';
8
8
  export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, } from './answer.interface';
9
9
  export { AccessInterface, } from './annotations.interface';
10
10
  export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
@@ -538,6 +538,7 @@ export declare class CreatePromptModuleVersionRequestOptions implements i.Create
538
538
  export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
539
539
  includeAllCitations: boolean;
540
540
  enableAsyncFunctions: boolean;
541
+ maxTokens: number;
541
542
  static fromProto(proto: any): GenerateChatAnswerRequestOptions;
542
543
  constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
543
544
  toApiJson(): object;
@@ -1,5 +1,6 @@
1
1
  import * as i from '../interfaces';
2
2
  import { Goal } from './goal';
3
+ import { KeyValuePair } from './common';
3
4
  import { Namespace } from './namespace';
4
5
  import * as e from '../enums';
5
6
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
@@ -31,6 +32,7 @@ export declare class Config implements i.ConfigInterface {
31
32
  }
32
33
  export declare class ConfigurableGoal implements i.ConfigurableGoalInterface {
33
34
  goal: Goal;
35
+ configuration: KeyValuePair[];
34
36
  static fromProto(proto: any): ConfigurableGoal;
35
37
  constructor(kwargs?: i.ConfigurableGoalInterface);
36
38
  toApiJson(): object;
@@ -2,9 +2,9 @@ export { NamespaceAccountGroupNamespace, NamespaceAccountGroupsForGroupNamespace
2
2
  export { Function, FunctionHeader, FunctionKey, FunctionParameter, } from './function';
3
3
  export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersion, } from './prompt';
4
4
  export { Goal, GoalKey, } from './goal';
5
+ export { KeyValuePair, } from './common';
5
6
  export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
6
7
  export { Connection, ConnectionKey, } from './connection';
7
- export { KeyValuePair, } from './common';
8
8
  export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, } from './answer';
9
9
  export { Access, } from './annotations';
10
10
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.19.0",
3
+ "version": "0.21.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"