@vendasta/ai-assistants 0.66.0 → 0.67.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.
@@ -9,7 +9,7 @@ export { ModelInterface, } from './model.interface';
9
9
  export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIConfigInterface, OpenAIRealtimeConfigInterface, TemplateVariableInterface, OpenAIRealtimeConfigTurnDetectionInterface, ValidatorInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
10
10
  export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
11
11
  export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatContentInterface, ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, ImageContentInterface, } from './answer.interface';
12
- export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
12
+ export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestLLMOptionsInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
13
13
  export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
14
14
  export { FieldMaskInterface, } from './field-mask.interface';
15
15
  export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListGoalsRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListConnectionsRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiAssistantRequestInterface, GetMultiAssistantResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListTemplateVariablesRequestInterface, ListTemplateVariablesResponseInterface, GenerateChatAnswerRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, GetAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, ExecuteFunctionRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, SetAssistantConnectionsRequestInterface, SetConnectionAssistantRequestInterface, ListGoalsRequestSortOptionsInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleResponseInterface, ValidatePromptModuleVersionsRequestInterface, ValidatePromptModuleVersionsResponseInterface, ValidatePromptModulesRequestInterface, ValidatePromptModulesResponseInterface, ValidatePromptModulesResponseValidationResultInterface, ValidatePromptModuleVersionsResponseValidationResultInterface, ValidationResultInterface, ValidationViolationInterface, } from './api.interface';
@@ -48,6 +48,7 @@ export interface ListTestRunsByAssistantResponseInterface {
48
48
  export interface RunTestsRequestInterface {
49
49
  assistant?: AssistantKeyInterface;
50
50
  testCaseIds?: string[];
51
+ llmOptions?: TestLLMOptionsInterface[];
51
52
  }
52
53
  export interface RunTestsResponseInterface {
53
54
  buildUrl?: string;
@@ -62,6 +63,10 @@ export interface TestCaseInterface {
62
63
  chatHistory?: ChatMessageInterface[];
63
64
  expectation?: string;
64
65
  }
66
+ export interface TestLLMOptionsInterface {
67
+ model?: string;
68
+ reasoningEffort?: string;
69
+ }
65
70
  export interface TestResultInterface {
66
71
  id?: string;
67
72
  name?: string;
@@ -72,6 +77,7 @@ export interface TestResultInterface {
72
77
  score?: number;
73
78
  reasoning?: string;
74
79
  citations?: TestResultCitationInterface[];
80
+ llmOptions?: TestLLMOptionsInterface;
75
81
  }
76
82
  export interface TestRunInterface {
77
83
  id?: string;
@@ -9,7 +9,7 @@ export { Model, } from './model';
9
9
  export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIConfig, OpenAIRealtimeConfig, TemplateVariable, OpenAIRealtimeConfigTurnDetection, Validator, ConfigVoiceConfig, } from './assistant';
10
10
  export { Connection, ConnectionKey, } from './connection';
11
11
  export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatContent, ChatMessage, ChatUserInfo, ContextInfo, ImageContent, } from './answer';
12
- export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
12
+ export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestLLMOptions, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
13
13
  export { Access, MCPOptions, } from './annotations';
14
14
  export { FieldMask, } from './field-mask';
15
15
  export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListGoalsRequestFilters, ListAssistantRequestFilters, ListFunctionRequestFilters, ListAvailableModelsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListPromptModuleRequestFilters, ListConnectionsRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, GenerateChatAnswerRequestOptions, GetMultiAssistantRequestOptions, UpsertAssistantRequestOptions, GetAssistantRequestOptions, CreateAssistantRequestOptions, ExecuteFunctionRequestOptions, CreatePromptModuleVersionRequestOptions, SetAssistantConnectionsRequest, SetConnectionAssistantRequest, ListGoalsRequestSortOptions, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModulesRequest, ValidatePromptModulesResponse, ValidatePromptModulesResponseValidationResult, ValidatePromptModuleVersionsResponseValidationResult, ValidationResult, ValidationViolation, } from './api';
@@ -77,6 +77,7 @@ export declare class ListTestRunsByAssistantResponse implements i.ListTestRunsBy
77
77
  export declare class RunTestsRequest implements i.RunTestsRequestInterface {
78
78
  assistant: AssistantKey;
79
79
  testCaseIds: string[];
80
+ llmOptions: TestLLMOptions[];
80
81
  static fromProto(proto: any): RunTestsRequest;
81
82
  constructor(kwargs?: i.RunTestsRequestInterface);
82
83
  toApiJson(): object;
@@ -103,6 +104,13 @@ export declare class TestCase implements i.TestCaseInterface {
103
104
  constructor(kwargs?: i.TestCaseInterface);
104
105
  toApiJson(): object;
105
106
  }
107
+ export declare class TestLLMOptions implements i.TestLLMOptionsInterface {
108
+ model: string;
109
+ reasoningEffort: string;
110
+ static fromProto(proto: any): TestLLMOptions;
111
+ constructor(kwargs?: i.TestLLMOptionsInterface);
112
+ toApiJson(): object;
113
+ }
106
114
  export declare class TestResult implements i.TestResultInterface {
107
115
  id: string;
108
116
  name: string;
@@ -113,6 +121,7 @@ export declare class TestResult implements i.TestResultInterface {
113
121
  score: number;
114
122
  reasoning: string;
115
123
  citations: TestResultCitation[];
124
+ llmOptions: TestLLMOptions;
116
125
  static fromProto(proto: any): TestResult;
117
126
  constructor(kwargs?: i.TestResultInterface);
118
127
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.66.0",
3
+ "version": "0.67.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"