From c88c78fb91b1e07e83d5ae7b07565a657f29e8e5 Mon Sep 17 00:00:00 2001 From: SITADRITA1 Date: Thu, 27 Feb 2025 11:13:48 +0100 Subject: [PATCH 1/6] Update FsCacheAdapter.md --- docs/api/classes/FsCacheAdapter.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/classes/FsCacheAdapter.md b/docs/api/classes/FsCacheAdapter.md index 0a31626c9b6..6b26769e482 100644 --- a/docs/api/classes/FsCacheAdapter.md +++ b/docs/api/classes/FsCacheAdapter.md @@ -28,7 +28,7 @@ ### get() -> **get**(`key`): `Promise`\<`string`\> +> **get**(`key`): `Promise`<`string`> #### Parameters @@ -36,7 +36,7 @@ #### Returns -`Promise`\<`string`\> +`Promise`<`string`> #### Implementation of @@ -50,7 +50,7 @@ ### set() -> **set**(`key`, `value`): `Promise`\<`void`\> +> **set**(`key`, `value`): `Promise`<`void`> #### Parameters @@ -60,7 +60,7 @@ #### Returns -`Promise`\<`void`\> +`Promise`<`void`> #### Implementation of From 8b010821735bae2e0ef4282825a930b6ee78224f Mon Sep 17 00:00:00 2001 From: SITADRITA1 Date: Thu, 27 Feb 2025 11:15:27 +0100 Subject: [PATCH 2/6] Update MemoryCacheAdapter.md --- docs/api/classes/MemoryCacheAdapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/classes/MemoryCacheAdapter.md b/docs/api/classes/MemoryCacheAdapter.md index 154ba0b3591..3d838b52ae0 100644 --- a/docs/api/classes/MemoryCacheAdapter.md +++ b/docs/api/classes/MemoryCacheAdapter.md @@ -14,7 +14,7 @@ #### Parameters -• **initalData?**: `Map`\<`string`, `string`\> +• **initialData?**: `Map`\<`string`, `string`\> #### Returns From 7390bc21e1d3c1d1f2eedb30863646a890cffdca Mon Sep 17 00:00:00 2001 From: SITADRITA1 Date: Thu, 27 Feb 2025 12:30:37 +0100 Subject: [PATCH 3/6] Update trimTokens.md --- docs/api/functions/trimTokens.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/api/functions/trimTokens.md b/docs/api/functions/trimTokens.md index 34b5110ade4..923c863e0cf 100644 --- a/docs/api/functions/trimTokens.md +++ b/docs/api/functions/trimTokens.md @@ -38,8 +38,7 @@ trimTokens ## Throws -Throws an error if the runtime settings are invalid or missing required fields. - +Throws an error if runtime settings are invalid or missing fields. ## Example ```ts From 1a0984b433e8f24bfe4002304ac834dc404de3f0 Mon Sep 17 00:00:00 2001 From: SITADRITA1 Date: Sat, 1 Mar 2025 01:12:55 +0100 Subject: [PATCH 4/6] Update FsCacheAdapter.md --- docs/api/classes/FsCacheAdapter.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/api/classes/FsCacheAdapter.md b/docs/api/classes/FsCacheAdapter.md index 6b26769e482..f949aea9ab5 100644 --- a/docs/api/classes/FsCacheAdapter.md +++ b/docs/api/classes/FsCacheAdapter.md @@ -28,7 +28,7 @@ ### get() -> **get**(`key`): `Promise`<`string`> +> **get**(`key`): `Promise` #### Parameters @@ -36,7 +36,7 @@ #### Returns -`Promise`<`string`> +`Promise` #### Implementation of @@ -50,7 +50,7 @@ ### set() -> **set**(`key`, `value`): `Promise`<`void`> +> **set**(`key`, `value`): `Promise` #### Parameters @@ -60,8 +60,7 @@ #### Returns -`Promise`<`void`> - +`Promise` #### Implementation of [`ICacheAdapter`](../interfaces/ICacheAdapter.md).[`set`](../interfaces/ICacheAdapter.md#set) @@ -74,7 +73,7 @@ ### delete() -> **delete**(`key`): `Promise`\<`void`\> +> **delete**(`key`): `Promise` #### Parameters @@ -82,7 +81,7 @@ #### Returns -`Promise`\<`void`\> +`Promise` #### Implementation of From 79a98fbb8d52445edc85c74ece361ebe79313b93 Mon Sep 17 00:00:00 2001 From: SITADRITA1 Date: Sat, 1 Mar 2025 01:16:58 +0100 Subject: [PATCH 5/6] Update MemoryCacheAdapter.md --- docs/api/classes/MemoryCacheAdapter.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/api/classes/MemoryCacheAdapter.md b/docs/api/classes/MemoryCacheAdapter.md index 3d838b52ae0..1b9a3ac7869 100644 --- a/docs/api/classes/MemoryCacheAdapter.md +++ b/docs/api/classes/MemoryCacheAdapter.md @@ -14,7 +14,7 @@ #### Parameters -• **initialData?**: `Map`\<`string`, `string`\> +• **initialData?**: `Map` #### Returns @@ -28,7 +28,7 @@ ### data -> **data**: `Map`\<`string`, `string`\> +> **data**: `Map` #### Defined in @@ -38,7 +38,7 @@ ### get() -> **get**(`key`): `Promise`\<`string`\> +> **get**(`key`): `Promise` #### Parameters @@ -46,7 +46,7 @@ #### Returns -`Promise`\<`string`\> +`Promise` #### Implementation of @@ -70,7 +70,7 @@ #### Returns -`Promise`\<`void`\> +`Promise` #### Implementation of @@ -84,7 +84,7 @@ ### delete() -> **delete**(`key`): `Promise`\<`void`\> +> **delete**(`key`): `Promise` #### Parameters @@ -92,7 +92,7 @@ #### Returns -`Promise`\<`void`\> +`Promise` #### Implementation of From e8525033c1640eb9ba403a12a3d36fc3327c23ee Mon Sep 17 00:00:00 2001 From: SITADRITA1 Date: Sat, 1 Mar 2025 01:18:44 +0100 Subject: [PATCH 6/6] Update trimTokens.md --- docs/api/functions/trimTokens.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/functions/trimTokens.md b/docs/api/functions/trimTokens.md index 923c863e0cf..c0e3c0232ff 100644 --- a/docs/api/functions/trimTokens.md +++ b/docs/api/functions/trimTokens.md @@ -2,7 +2,7 @@ # Function: trimTokens() -> **trimTokens**(`context`, `maxTokens`, `runtime`): `Promise`\<`string`\> +> **trimTokens**(`context`, `maxTokens`, `runtime`): `Promise` Trims the provided text context to a specified token limit using a tokenizer model and type. @@ -26,7 +26,7 @@ The runtime interface providing tokenizer settings. ## Returns -`Promise`\<`string`\> +`Promise` A promise that resolves to the trimmed text.