@rodrigobeber/patoai-dtos 1.0.2 → 1.0.3

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.
@@ -7,5 +7,6 @@ export * from './create-transcription.dto';
7
7
  export * from './get-active-run.dto';
8
8
  export * from './get-last-message.dto';
9
9
  export * from './get-run.dto';
10
+ export * from './sync-assistant.dto';
10
11
  export * from './submit-tool-outputs.dto';
11
12
  export * from './ai-message.dto';
@@ -19,6 +19,7 @@ __exportStar(require("./create-transcription.dto"), exports);
19
19
  __exportStar(require("./get-active-run.dto"), exports);
20
20
  __exportStar(require("./get-last-message.dto"), exports);
21
21
  __exportStar(require("./get-run.dto"), exports);
22
+ __exportStar(require("./sync-assistant.dto"), exports);
22
23
  __exportStar(require("./submit-tool-outputs.dto"), exports);
23
24
  // return intarfaces
24
25
  __exportStar(require("./ai-message.dto"), exports);
@@ -0,0 +1,11 @@
1
+ import { AssistantTool } from "openai/resources/beta/assistants";
2
+ export interface SyncAssistantDto {
3
+ assistantId?: string;
4
+ aiKey: string;
5
+ model: string;
6
+ name: string;
7
+ description: string;
8
+ instructions: string;
9
+ temperature: number;
10
+ tools: AssistantTool[];
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface GetAssistantToolsDto {
2
+ idAssistant: number;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
1
  export * from './handle-tool-request.dto';
2
+ export * from './get-assistant-tools.dto';
@@ -11,3 +11,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./handle-tool-request.dto"), exports);
14
+ __exportStar(require("./get-assistant-tools.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Data Transfer Objects for the PatoAI system",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",