@elizaos/plugin-knowledge 2.0.0-alpha.3 → 2.0.0-alpha.5

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/config.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import type { IAgentRuntime } from "@elizaos/core";
2
- import { type ModelConfig, type ProviderRateLimits } from "./types.ts";
3
- export declare function validateModelConfig(runtime?: IAgentRuntime): ModelConfig;
4
- export declare function getProviderRateLimits(runtime?: IAgentRuntime): Promise<ProviderRateLimits>;
5
- //# sourceMappingURL=config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAS1F,wBAAgB,mBAAmB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,WAAW,CAgExE;AAgCD,wBAAsB,qBAAqB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA8BhG"}
@@ -1,53 +0,0 @@
1
- export declare const DEFAULT_CHUNK_TOKEN_SIZE = 500;
2
- export declare const DEFAULT_CHUNK_OVERLAP_TOKENS = 100;
3
- export declare const DEFAULT_CHARS_PER_TOKEN = 3.5;
4
- export declare const CONTEXT_TARGETS: {
5
- DEFAULT: {
6
- MIN_TOKENS: number;
7
- MAX_TOKENS: number;
8
- };
9
- PDF: {
10
- MIN_TOKENS: number;
11
- MAX_TOKENS: number;
12
- };
13
- MATH_PDF: {
14
- MIN_TOKENS: number;
15
- MAX_TOKENS: number;
16
- };
17
- CODE: {
18
- MIN_TOKENS: number;
19
- MAX_TOKENS: number;
20
- };
21
- TECHNICAL: {
22
- MIN_TOKENS: number;
23
- MAX_TOKENS: number;
24
- };
25
- };
26
- export declare const SYSTEM_PROMPT = "You are a precision text augmentation tool. Your task is to expand a given text chunk with its direct context from a larger document. You must: 1) Keep the original chunk intact; 2) Add critical context from surrounding text; 3) Never summarize or rephrase the original chunk; 4) Create contextually rich output for improved semantic retrieval.";
27
- export declare const SYSTEM_PROMPTS: {
28
- DEFAULT: string;
29
- CODE: string;
30
- PDF: string;
31
- MATH_PDF: string;
32
- TECHNICAL: string;
33
- };
34
- export declare const CONTEXTUAL_CHUNK_ENRICHMENT_PROMPT_TEMPLATE = "\n<document>\n{doc_content}\n</document>\n\nHere is the chunk we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this chunk by adding critical surrounding context. Follow these guidelines:\n\n1. Identify the document's main topic and key information relevant to understanding this chunk\n2. Include 2-3 sentences before the chunk that provide essential context\n3. Include 2-3 sentences after the chunk that complete thoughts or provide resolution\n4. For technical documents, include any definitions or explanations of terms used in the chunk\n5. For narrative content, include character or setting information needed to understand the chunk\n6. Keep the original chunk text COMPLETELY INTACT and UNCHANGED in your response\n7. Do not use phrases like \"this chunk discusses\" - directly present the context\n8. The total length should be between {min_tokens} and {max_tokens} tokens\n9. Format the response as a single coherent paragraph\n\nProvide ONLY the enriched chunk text in your response:";
35
- export declare const CACHED_CHUNK_PROMPT_TEMPLATE = "\nHere is the chunk we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this chunk by adding critical surrounding context. Follow these guidelines:\n\n1. Identify the document's main topic and key information relevant to understanding this chunk\n2. Include 2-3 sentences before the chunk that provide essential context\n3. Include 2-3 sentences after the chunk that complete thoughts or provide resolution\n4. For technical documents, include any definitions or explanations of terms used in the chunk\n5. For narrative content, include character or setting information needed to understand the chunk\n6. Keep the original chunk text COMPLETELY INTACT and UNCHANGED in your response\n7. Do not use phrases like \"this chunk discusses\" - directly present the context\n8. The total length should be between {min_tokens} and {max_tokens} tokens\n9. Format the response as a single coherent paragraph\n\nProvide ONLY the enriched chunk text in your response:";
36
- export declare const CACHED_CODE_CHUNK_PROMPT_TEMPLATE = "\nHere is the chunk of code we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this code chunk by adding critical surrounding context. Follow these guidelines:\n\n1. Preserve ALL code syntax, indentation, and comments exactly as they appear\n2. Include any import statements, function definitions, or class declarations that this code depends on\n3. Add necessary type definitions or interfaces that are referenced in this chunk\n4. Include any crucial comments from elsewhere in the document that explain this code\n5. If there are key variable declarations or initializations earlier in the document, include those\n6. Keep the original chunk COMPLETELY INTACT and UNCHANGED in your response\n7. The total length should be between {min_tokens} and {max_tokens} tokens\n8. Do NOT include implementation details for functions that are only called but not defined in this chunk\n\nProvide ONLY the enriched code chunk in your response:";
37
- export declare const CACHED_MATH_PDF_PROMPT_TEMPLATE = "\nHere is the chunk we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this chunk by adding critical surrounding context. This document contains mathematical content that requires special handling. Follow these guidelines:\n\n1. Preserve ALL mathematical notation exactly as it appears in the chunk\n2. Include any defining equations, variables, or parameters mentioned earlier in the document that relate to this chunk\n3. Add section/subsection names or figure references if they help situate the chunk\n4. If variables or symbols are defined elsewhere in the document, include these definitions\n5. If mathematical expressions appear corrupted, try to infer their meaning from context\n6. Keep the original chunk text COMPLETELY INTACT and UNCHANGED in your response\n7. The total length should be between {min_tokens} and {max_tokens} tokens\n8. Format the response as a coherent mathematical explanation\n\nProvide ONLY the enriched chunk text in your response:";
38
- export declare const CACHED_TECHNICAL_PROMPT_TEMPLATE = "\nHere is the chunk we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this chunk by adding critical surrounding context. This appears to be technical documentation that requires special handling. Follow these guidelines:\n\n1. Preserve ALL technical terminology, product names, and version numbers exactly as they appear\n2. Include any prerequisite information or requirements mentioned earlier in the document\n3. Add section/subsection headings or navigation path to situate this chunk within the document structure\n4. Include any definitions of technical terms, acronyms, or jargon used in this chunk\n5. If this chunk references specific configurations, include relevant parameter explanations\n6. Keep the original chunk text COMPLETELY INTACT and UNCHANGED in your response\n7. The total length should be between {min_tokens} and {max_tokens} tokens\n8. Format the response maintaining any hierarchical structure present in the original\n\nProvide ONLY the enriched chunk text in your response:";
39
- export declare const MATH_PDF_PROMPT_TEMPLATE = "\n<document>\n{doc_content}\n</document>\n\nHere is the chunk we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this chunk by adding critical surrounding context. This document contains mathematical content that requires special handling. Follow these guidelines:\n\n1. Preserve ALL mathematical notation exactly as it appears in the chunk\n2. Include any defining equations, variables, or parameters mentioned earlier in the document that relate to this chunk\n3. Add section/subsection names or figure references if they help situate the chunk\n4. If variables or symbols are defined elsewhere in the document, include these definitions\n5. If mathematical expressions appear corrupted, try to infer their meaning from context\n6. Keep the original chunk text COMPLETELY INTACT and UNCHANGED in your response\n7. The total length should be between {min_tokens} and {max_tokens} tokens\n8. Format the response as a coherent mathematical explanation\n\nProvide ONLY the enriched chunk text in your response:";
40
- export declare const CODE_PROMPT_TEMPLATE = "\n<document>\n{doc_content}\n</document>\n\nHere is the chunk of code we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this code chunk by adding critical surrounding context. Follow these guidelines:\n\n1. Preserve ALL code syntax, indentation, and comments exactly as they appear\n2. Include any import statements, function definitions, or class declarations that this code depends on\n3. Add necessary type definitions or interfaces that are referenced in this chunk\n4. Include any crucial comments from elsewhere in the document that explain this code\n5. If there are key variable declarations or initializations earlier in the document, include those\n6. Keep the original chunk COMPLETELY INTACT and UNCHANGED in your response\n7. The total length should be between {min_tokens} and {max_tokens} tokens\n8. Do NOT include implementation details for functions that are only called but not defined in this chunk\n\nProvide ONLY the enriched code chunk in your response:";
41
- export declare const TECHNICAL_PROMPT_TEMPLATE = "\n<document>\n{doc_content}\n</document>\n\nHere is the chunk we want to situate within the whole document:\n<chunk>\n{chunk_content}\n</chunk>\n\nCreate an enriched version of this chunk by adding critical surrounding context. This appears to be technical documentation that requires special handling. Follow these guidelines:\n\n1. Preserve ALL technical terminology, product names, and version numbers exactly as they appear\n2. Include any prerequisite information or requirements mentioned earlier in the document\n3. Add section/subsection headings or navigation path to situate this chunk within the document structure\n4. Include any definitions of technical terms, acronyms, or jargon used in this chunk\n5. If this chunk references specific configurations, include relevant parameter explanations\n6. Keep the original chunk text COMPLETELY INTACT and UNCHANGED in your response\n7. The total length should be between {min_tokens} and {max_tokens} tokens\n8. Format the response maintaining any hierarchical structure present in the original\n\nProvide ONLY the enriched chunk text in your response:";
42
- export declare function getContextualizationPrompt(docContent: string, chunkContent: string, minTokens?: number, maxTokens?: number, promptTemplate?: string): string;
43
- export declare function getCachingContextualizationPrompt(chunkContent: string, contentType?: string, minTokens?: number, maxTokens?: number): {
44
- prompt: string;
45
- systemPrompt: string;
46
- };
47
- export declare function getPromptForMimeType(mimeType: string, docContent: string, chunkContent: string): string;
48
- export declare function getCachingPromptForMimeType(mimeType: string, chunkContent: string): {
49
- prompt: string;
50
- systemPrompt: string;
51
- };
52
- export declare function getChunkWithContext(chunkContent: string, generatedContext: string): string;
53
- //# sourceMappingURL=ctx-embeddings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ctx-embeddings.d.ts","sourceRoot":"","sources":["../ctx-embeddings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAC5C,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAChD,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;CAqB3B,CAAC;AAEF,eAAO,MAAM,aAAa,6VACkU,CAAC;AAE7V,eAAO,MAAM,cAAc;;;;;;CAa1B,CAAC;AAEF,eAAO,MAAM,2CAA2C,0iCAsBD,CAAC;AAExD,eAAO,MAAM,4BAA4B,ggCAkBc,CAAC;AAExD,eAAO,MAAM,iCAAiC,2+BAiBS,CAAC;AAExD,eAAO,MAAM,+BAA+B,2gCAiBW,CAAC;AAExD,eAAO,MAAM,gCAAgC,gjCAiBU,CAAC;AAExD,eAAO,MAAM,wBAAwB,qjCAqBkB,CAAC;AAExD,eAAO,MAAM,oBAAoB,qhCAqBsB,CAAC;AAExD,eAAO,MAAM,yBAAyB,0lCAqBiB,CAAC;AAExD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,SAAS,SAAqC,EAC9C,SAAS,SAAqC,EAC9C,cAAc,SAA8C,GAC3D,MAAM,CAiBR;AAED,wBAAgB,iCAAiC,CAC/C,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,MAAM,EACpB,SAAS,SAAqC,EAC9C,SAAS,SAAqC,GAC7C;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAsD1C;AAED,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,GACnB,MAAM,CAoCR;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACnB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CA+B1C;AA0FD,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAK1F"}
@@ -1,9 +0,0 @@
1
- import { type UUID } from "@elizaos/core";
2
- import type { KnowledgeService } from "./service.ts";
3
- export declare function getKnowledgePath(runtimePath?: string): string;
4
- export declare function loadDocsFromPath(service: KnowledgeService, agentId: UUID, worldId?: UUID, knowledgePath?: string): Promise<{
5
- total: number;
6
- successful: number;
7
- failed: number;
8
- }>;
9
- //# sourceMappingURL=docs-loader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"docs-loader.d.ts","sourceRoot":"","sources":["../docs-loader.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,IAAI,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIrD,wBAAgB,gBAAgB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAmB7D;AAED,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,gBAAgB,EACzB,OAAO,EAAE,IAAI,EACb,OAAO,CAAC,EAAE,IAAI,EACd,aAAa,CAAC,EAAE,MAAM,GACrB,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAwEhE"}
@@ -1,26 +0,0 @@
1
- import type { Buffer } from "node:buffer";
2
- import { type IAgentRuntime, type Memory, type UUID } from "@elizaos/core";
3
- export declare function processFragmentsSynchronously({ runtime, documentId, fullDocumentText, agentId, contentType, roomId, entityId, worldId, documentTitle, }: {
4
- runtime: IAgentRuntime;
5
- documentId: UUID;
6
- fullDocumentText: string;
7
- agentId: UUID;
8
- contentType?: string;
9
- roomId?: UUID;
10
- entityId?: UUID;
11
- worldId?: UUID;
12
- documentTitle?: string;
13
- }): Promise<number>;
14
- export declare function extractTextFromDocument(fileBuffer: Buffer, contentType: string, originalFilename: string): Promise<string>;
15
- export declare function createDocumentMemory({ text, agentId, clientDocumentId, originalFilename, contentType, worldId, fileSize, documentId, customMetadata, }: {
16
- text: string;
17
- agentId: UUID;
18
- clientDocumentId: UUID;
19
- originalFilename: string;
20
- contentType: string;
21
- worldId: UUID;
22
- fileSize: number;
23
- documentId?: UUID;
24
- customMetadata?: Record<string, unknown>;
25
- }): Memory;
26
- //# sourceMappingURL=document-processor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"document-processor.d.ts","sourceRoot":"","sources":["../document-processor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,MAAM,EAIX,KAAK,IAAI,EACV,MAAM,eAAe,CAAC;AA8DvB,wBAAsB,6BAA6B,CAAC,EAClD,OAAO,EACP,UAAU,EACV,gBAAgB,EAChB,OAAO,EACP,WAAW,EACX,MAAM,EACN,QAAQ,EACR,OAAO,EACP,aAAa,GACd,EAAE;IACD,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,EAAE,IAAI,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,IAAI,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,OAAO,CAAC,MAAM,CAAC,CA6ClB;AAED,wBAAsB,uBAAuB,CAC3C,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC,CA6BjB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,OAAO,EACP,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,OAAO,EACP,QAAQ,EACR,UAAU,EACV,cAAc,GACf,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,IAAI,CAAC;IACd,gBAAgB,EAAE,IAAI,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,IAAI,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C,GAAG,MAAM,CAyBT"}
@@ -1,3 +0,0 @@
1
- import type { Provider } from "@elizaos/core";
2
- export declare const documentsProvider: Provider;
3
- //# sourceMappingURL=documents-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"documents-provider.d.ts","sourceRoot":"","sources":["../documents-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAK7D,eAAO,MAAM,iBAAiB,EAAE,QAqH/B,CAAC"}
@@ -1,5 +0,0 @@
1
- export { documentsProvider } from "./documents-provider";
2
- export type { KnowledgePluginConfig } from "./index";
3
- export { knowledgeProvider } from "./provider";
4
- export * from "./types";
5
- //# sourceMappingURL=index.browser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../index.browser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,cAAc,SAAS,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,17 +0,0 @@
1
- import type { Plugin } from "@elizaos/core";
2
- export interface KnowledgePluginConfig {
3
- enableUI?: boolean;
4
- enableRoutes?: boolean;
5
- enableActions?: boolean;
6
- enableTests?: boolean;
7
- }
8
- export declare function createKnowledgePlugin(config?: KnowledgePluginConfig): Plugin;
9
- export declare const knowledgePluginCore: Plugin;
10
- export declare const knowledgePluginHeadless: Plugin;
11
- export declare const knowledgePlugin: Plugin;
12
- export default knowledgePlugin;
13
- export { documentsProvider } from "./documents-provider";
14
- export { knowledgeProvider } from "./provider";
15
- export { KnowledgeService } from "./service";
16
- export * from "./types";
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,qBAAqB,CAAC,MAAM,GAAE,qBAA0B,GAAG,MAAM,CA2BhF;AAED,eAAO,MAAM,mBAAmB,EAAE,MAKhC,CAAC;AAEH,eAAO,MAAM,uBAAuB,EAAE,MAKpC,CAAC;AAEH,eAAO,MAAM,eAAe,EAAE,MAK5B,CAAC;AAEH,eAAe,eAAe,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,cAAc,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./index";
2
- //# sourceMappingURL=index.node.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.node.d.ts","sourceRoot":"","sources":["../index.node.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
package/dist/llm.d.ts DELETED
@@ -1,27 +0,0 @@
1
- import { type IAgentRuntime } from "@elizaos/core";
2
- interface TextGenerationResult {
3
- text: string;
4
- usage: {
5
- inputTokens?: number;
6
- outputTokens?: number;
7
- totalTokens?: number;
8
- };
9
- finishReason?: string;
10
- response?: {
11
- id?: string;
12
- modelId?: string;
13
- };
14
- }
15
- import type { TextGenerationOptions } from "./types";
16
- export declare function generateTextEmbedding(runtime: IAgentRuntime, text: string): Promise<{
17
- embedding: number[];
18
- }>;
19
- export declare function generateTextEmbeddingsBatch(runtime: IAgentRuntime, texts: string[], batchSize?: number): Promise<Array<{
20
- embedding: number[] | null;
21
- success: boolean;
22
- error?: unknown;
23
- index: number;
24
- }>>;
25
- export declare function generateText(runtime: IAgentRuntime, prompt: string, system?: string, overrideConfig?: TextGenerationOptions): Promise<TextGenerationResult>;
26
- export {};
27
- //# sourceMappingURL=llm.d.ts.map
package/dist/llm.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../llm.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,aAAa,EAAU,MAAM,eAAe,CAAC;AAM3D,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE;QACT,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAGD,OAAO,KAAK,EAAe,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAElE,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,aAAa,EACtB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAgBlC;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,MAAM,EAAE,EACf,SAAS,GAAE,MAAW,GACrB,OAAO,CACR,KAAK,CAAC;IAAE,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CACxF,CAyCA;AA8DD,wBAAsB,YAAY,CAChC,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,qBAAqB,GACrC,OAAO,CAAC,oBAAoB,CAAC,CAqC/B"}