Skip to main content

rag

@codebolt/codeboltjs


Variable: rag

const rag: {
add_file: (filename: string, file_path: string) => void;
init: () => void;
retrieve_related_knowledge: (query: string, filename: string) => void;
};

Defined in: packages/codeboltjs/src/modules/rag.ts:4

A module for managing files within the CodeBolt File System.

Type Declaration

NameTypeDescriptionDefined in
add_file()(filename: string, file_path: string) => voidAdds a file to the CodeBolt File System.packages/codeboltjs/src/modules/rag.ts:15
init()() => voidInitializes the CodeBolt File System Module.packages/codeboltjs/src/modules/rag.ts:8
retrieve_related_knowledge()(query: string, filename: string) => voidRetrieves related knowledge for a given query and filename.packages/codeboltjs/src/modules/rag.ts:23