chatifai 1.0.38 → 1.0.39
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.
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.js +1 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/types.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -170,6 +170,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
170
170
|
instructions?: string | null | undefined;
|
|
171
171
|
temperature?: number | null | undefined;
|
|
172
172
|
elevenlabs_voice_id?: string | null | undefined;
|
|
173
|
+
voice_instructions?: string | null | undefined;
|
|
173
174
|
message_count_limit?: number | null | undefined;
|
|
174
175
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
175
176
|
createdAt: NativeDate;
|
|
@@ -186,6 +187,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
186
187
|
instructions?: string | null | undefined;
|
|
187
188
|
temperature?: number | null | undefined;
|
|
188
189
|
elevenlabs_voice_id?: string | null | undefined;
|
|
190
|
+
voice_instructions?: string | null | undefined;
|
|
189
191
|
message_count_limit?: number | null | undefined;
|
|
190
192
|
}>, {}> & import("mongoose").FlatRecord<{
|
|
191
193
|
createdAt: NativeDate;
|
|
@@ -202,6 +204,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
202
204
|
instructions?: string | null | undefined;
|
|
203
205
|
temperature?: number | null | undefined;
|
|
204
206
|
elevenlabs_voice_id?: string | null | undefined;
|
|
207
|
+
voice_instructions?: string | null | undefined;
|
|
205
208
|
message_count_limit?: number | null | undefined;
|
|
206
209
|
}> & {
|
|
207
210
|
_id: import("mongoose").Types.ObjectId;
|
package/dist/index.js
CHANGED
|
@@ -69,6 +69,7 @@ exports.AgentSchema = new mongoose_1.Schema({
|
|
|
69
69
|
max_tokens: { type: Number, min: 1, default: 3000 },
|
|
70
70
|
elevenlabs_voice_id: { type: String },
|
|
71
71
|
message_count_limit: { type: Number, min: 1 },
|
|
72
|
+
voice_instructions: { type: String },
|
|
72
73
|
is_editable: { type: Boolean, default: false },
|
|
73
74
|
created_at: { type: Number },
|
|
74
75
|
updated_at: { type: Number },
|
package/dist/types.d.ts
CHANGED
|
@@ -185,6 +185,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
185
185
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
186
186
|
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
187
187
|
elevenlabs_voice_id: z.ZodOptional<z.ZodString>;
|
|
188
|
+
voice_instructions: z.ZodOptional<z.ZodString>;
|
|
188
189
|
message_count_limit: z.ZodOptional<z.ZodNumber>;
|
|
189
190
|
is_editable: z.ZodOptional<z.ZodBoolean>;
|
|
190
191
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -201,6 +202,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
201
202
|
temperature?: number | undefined;
|
|
202
203
|
max_tokens?: number | undefined;
|
|
203
204
|
elevenlabs_voice_id?: string | undefined;
|
|
205
|
+
voice_instructions?: string | undefined;
|
|
204
206
|
message_count_limit?: number | undefined;
|
|
205
207
|
is_editable?: boolean | undefined;
|
|
206
208
|
}, {
|
|
@@ -215,6 +217,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
215
217
|
temperature?: number | undefined;
|
|
216
218
|
max_tokens?: number | undefined;
|
|
217
219
|
elevenlabs_voice_id?: string | undefined;
|
|
220
|
+
voice_instructions?: string | undefined;
|
|
218
221
|
message_count_limit?: number | undefined;
|
|
219
222
|
is_editable?: boolean | undefined;
|
|
220
223
|
}>;
|
package/dist/types.js
CHANGED
|
@@ -86,6 +86,7 @@ exports.zodAgentSchema = zod_1.z.object({
|
|
|
86
86
|
temperature: zod_1.z.number().min(0).max(1).optional(),
|
|
87
87
|
max_tokens: zod_1.z.number().min(1).optional(),
|
|
88
88
|
elevenlabs_voice_id: zod_1.z.string().optional(),
|
|
89
|
+
voice_instructions: zod_1.z.string().optional(),
|
|
89
90
|
message_count_limit: zod_1.z.number().min(1).optional(),
|
|
90
91
|
is_editable: zod_1.z.boolean().optional(),
|
|
91
92
|
created_at: zod_1.z.number().optional(),
|
package/index.ts
CHANGED
|
@@ -63,6 +63,7 @@ export const AgentSchema = new Schema(
|
|
|
63
63
|
max_tokens: { type: Number, min: 1, default: 3000 },
|
|
64
64
|
elevenlabs_voice_id: { type: String },
|
|
65
65
|
message_count_limit: { type: Number, min: 1 },
|
|
66
|
+
voice_instructions: { type: String },
|
|
66
67
|
is_editable: { type: Boolean, default: false },
|
|
67
68
|
created_at: { type: Number },
|
|
68
69
|
updated_at: { type: Number },
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -91,6 +91,7 @@ export const zodAgentSchema = z.object({
|
|
|
91
91
|
temperature: z.number().min(0).max(1).optional(),
|
|
92
92
|
max_tokens: z.number().min(1).optional(),
|
|
93
93
|
elevenlabs_voice_id: z.string().optional(),
|
|
94
|
+
voice_instructions: z.string().optional(),
|
|
94
95
|
message_count_limit: z.number().min(1).optional(),
|
|
95
96
|
is_editable: z.boolean().optional(),
|
|
96
97
|
created_at: z.number().optional(),
|