Compile the source indexing command into the runtime
This commit is contained in:
parent
1103255277
commit
11568671a0
9 changed files with 54 additions and 24 deletions
|
|
@ -5,11 +5,16 @@ import { fileURLToPath } from "node:url";
|
|||
import { config as loadDotEnv } from "dotenv";
|
||||
|
||||
import { loadConfig } from "@voidbot/config";
|
||||
import { FileSourceDocumentArchiveRepository } from "@voidbot/rag";
|
||||
import {
|
||||
createSourceVectorStore,
|
||||
discoverSourceRepos,
|
||||
FileSourceDocumentArchiveRepository,
|
||||
indexSourceRepos,
|
||||
selectSourceRepos,
|
||||
type SourceRepoMatch,
|
||||
} from "@voidbot/rag";
|
||||
|
||||
import { discoverSourceRepos, selectSourceRepos, type SourceRepoMatch } from "./source-repo-discovery";
|
||||
import { installSourceIndexPushHooks } from "./source-repo-hooks";
|
||||
import { createSourceVectorStore, indexSourceRepos } from "./source-repo-indexing";
|
||||
|
||||
interface ScriptOptions {
|
||||
repos?: string[];
|
||||
|
|
|
|||
Loading…
Reference in a new issue