Comparing version 0.2.0 to 0.2.1
@@ -89,2 +89,13 @@ import { z } from 'zod'; | ||
type User = z.infer<typeof baseUserSchema>; | ||
declare const ragSettings: z.ZodObject<{ | ||
defaultChunkSize: z.ZodNumber; | ||
defaultChunkOverlap: z.ZodNumber; | ||
}, "strip", z.ZodTypeAny, { | ||
defaultChunkSize: number; | ||
defaultChunkOverlap: number; | ||
}, { | ||
defaultChunkSize: number; | ||
defaultChunkOverlap: number; | ||
}>; | ||
type RagSettings = z.infer<typeof ragSettings>; | ||
@@ -148,2 +159,15 @@ /** | ||
}>; | ||
/** | ||
* Update the RAG settings. | ||
* | ||
* @param settings - The RAG settings to update. | ||
* @returns A promise that resolves to an object with `data` and `error` properties. | ||
*/ | ||
updateRagSettings(settings: RagSettings): Promise<{ | ||
data: boolean; | ||
error: null; | ||
} | { | ||
data: null; | ||
error: DialoqbaseFetchError; | ||
}>; | ||
} | ||
@@ -436,3 +460,2 @@ | ||
text_to_voice_type_metadata: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; | ||
haveDataSourcesBeenAdded: z.ZodBoolean; | ||
use_rag: z.ZodBoolean; | ||
@@ -470,3 +493,2 @@ bot_protect: z.ZodBoolean; | ||
text_to_voice_type_metadata: {}; | ||
haveDataSourcesBeenAdded: boolean; | ||
use_rag: boolean; | ||
@@ -499,3 +521,2 @@ bot_protect: boolean; | ||
text_to_voice_type_metadata: {}; | ||
haveDataSourcesBeenAdded: boolean; | ||
use_rag: boolean; | ||
@@ -577,2 +598,3 @@ bot_protect: boolean; | ||
bot_model_api_key: z.ZodOptional<z.ZodString>; | ||
no_of_documents_to_retrieve: z.ZodOptional<z.ZodNumber>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -590,2 +612,3 @@ system_prompt?: string | undefined; | ||
bot_model_api_key?: string | undefined; | ||
no_of_documents_to_retrieve?: number | undefined; | ||
}, { | ||
@@ -603,2 +626,3 @@ system_prompt?: string | undefined; | ||
bot_model_api_key?: string | undefined; | ||
no_of_documents_to_retrieve?: number | undefined; | ||
}>; | ||
@@ -605,0 +629,0 @@ type UpdateBot = z.infer<typeof updateBotSchema>; |
{ | ||
"name": "dialoqbase", | ||
"type": "module", | ||
"version": "0.2.0", | ||
"packageManager": "pnpm@8.15.3", | ||
"version": "0.2.1", | ||
"description": "A client library for Dialoqbase", | ||
@@ -7,0 +6,0 @@ "author": "Muhammed Nazeem <n4ze3m@gmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112946
1888