MCPcopy Create free account

hub / github.com/context-labs/autodoc / functions

Functions63 in github.com/context-labs/autodoc

↓ 9 callersFunctiongetMaxPromptLength
(prompts: string[], model: LLMModels)
src/cli/commands/index/selectModel.ts:77
↓ 9 callersFunctionupdateSpinnerText
(message: string)
src/cli/spinner.ts:8
↓ 7 callersFunctionspinnerSuccess
(message?: string)
src/cli/spinner.ts:27
↓ 6 callersFunctiontraverseFileSystem
( params: TraverseFileSystemParams, )
src/cli/utils/traverseFileSystem.ts:7
↓ 3 callersFunctiongetQuestion
()
src/cli/commands/query/index.ts:53
↓ 3 callersFunctionstopSpinner
()
src/cli/spinner.ts:16
↓ 3 callersFunctionuser
( config: AutodocUserConfig = makeConfigTemplate(), )
src/cli/commands/user/index.ts:16
↓ 2 callersFunctioncalculateChecksum
* Calculates the checksum of all the files in a folder
src/cli/commands/index/processRepository.ts:407
↓ 2 callersFunctioncallLLM
( prompt: string, model: OpenAIChat, )
src/cli/commands/index/processRepository.ts:56
↓ 2 callersMethoddequeueAndExecute
()
src/cli/utils/APIRateLimit.ts:31
↓ 2 callersFunctionestimate
({ name, repositoryUrl, root, output, llms, priority, maxConcurrentCalls, addQuestions, igno
src/cli/commands/estimate/index.ts:11
↓ 2 callersMethodfromDocuments
( docs: Document[], embeddings: Embeddings, dbConfig?: { docstore?: InMemoryDocstore; },
src/langchain/hnswlib.ts:187
↓ 2 callersFunctiongetFileName
( input: string, delimiter = '.', extension = '.md', )
src/cli/utils/FileUtil.ts:1
↓ 2 callersMethodgetHierarchicalNSW
(args: HNSWLibBase)
src/langchain/hnswlib.ts:45
↓ 2 callersFunctioninit
( config: AutodocRepoConfig = makeConfigTemplate(), )
src/cli/commands/init/index.ts:59
↓ 2 callersFunctionisModel
(model: LLMModelDetails | null)
src/cli/commands/index/processRepository.ts:63
↓ 2 callersMethodload
()
src/cli/commands/index/createVectorStore.ts:58
↓ 2 callersFunctionmakeConfigTemplate
( config?: AutodocRepoConfig, )
src/cli/commands/init/index.ts:7
↓ 2 callersFunctionmakeConfigTemplate
( config?: AutodocUserConfig, )
src/cli/commands/user/index.ts:8
↓ 2 callersFunctionprocessRepository
( { name: projectName, repositoryUrl, root: inputRoot, output: outputRoot, llms, pri
src/cli/commands/index/processRepository.ts:35
↓ 2 callersFunctionquery
( { name, repositoryUrl, output, contentType, chatPrompt, targetAudience}: AutodocRepoConfig, { llms }: Au
src/cli/commands/query/index.ts:30
↓ 2 callersFunctionselectModel
( prompts: string[], llms: LLMModels[], models: Record<LLMModels, LLMModelDetails>, priority: Priority
src/cli/commands/index/selectModel.ts:4
↓ 2 callersFunctionshouldIgnore
(fileName: string)
src/cli/utils/traverseFileSystem.ts:31
↓ 2 callersFunctionshouldReindex
* Checks if a summary.json file exists. * If it does, compares the checksums to see if it * needs to be re-indexed or not.
src/cli/commands/index/processRepository.ts:424
↓ 1 callersMethodaddDocuments
(documents: Document[])
src/langchain/hnswlib.ts:37
↓ 1 callersMethodaddVectors
(vectors: number[][], documents: Document[])
src/langchain/hnswlib.ts:81
↓ 1 callersMethodcallApi
(apiFunction: () => Promise<T>)
src/cli/utils/APIRateLimit.ts:7
↓ 1 callersFunctionclearScreenAndMoveCursorToTop
()
src/cli/commands/query/index.ts:26
↓ 1 callersFunctionconvertJsonToMarkdown
({ name: projectName, root: inputRoot, output: outputRoot, filePrompt: filePrompt, folderPrompt: fol
src/cli/commands/index/convertJsonToMarkdown.ts:13
↓ 1 callersFunctioncreateCodeFileSummary
( filePath: string, projectName: string, fileContents: string, contentType: string, filePrompt: stri
src/cli/commands/index/prompts.ts:3
↓ 1 callersFunctioncreateCodeQuestions
( filePath: string, projectName: string, fileContents: string, contentType: string, targetAudience:
src/cli/commands/index/prompts.ts:24
↓ 1 callersFunctioncreateVectorStore
({ root, output, }: AutodocRepoConfig)
src/cli/commands/index/createVectorStore.ts:63
↓ 1 callersFunctiondfs
(currentPath: string)
src/cli/utils/traverseFileSystem.ts:35
↓ 1 callersFunctiondisplayWelcomeMessage
(projectName: string)
src/cli/commands/query/index.ts:19
↓ 1 callersFunctionfilesAndFolders
()
src/cli/commands/index/processRepository.ts:316
↓ 1 callersFunctionfolderSummaryPrompt
( folderPath: string, projectName: string, files: FileSummary[], folders: FolderSummary[], contentTy
src/cli/commands/index/prompts.ts:45
↓ 1 callersFunctiongithubFileUrl
( githubRoot: string, inputRoot: string, filePath: string, linkHosted: boolean, )
src/cli/utils/FileUtil.ts:15
↓ 1 callersFunctiongithubFolderUrl
( githubRoot: string, inputRoot: string, folderPath: string, linkHosted: boolean, )
src/cli/utils/FileUtil.ts:30
↓ 1 callersMethodimports
()
src/langchain/hnswlib.ts:203
↓ 1 callersFunctionindex
({ name, repositoryUrl, root, output, llms, priority, maxConcurrentCalls, addQuestions, igno
src/cli/commands/index/index.ts:8
↓ 1 callersMethodinitIndex
(vectors: number[][])
src/langchain/hnswlib.ts:56
↓ 1 callersFunctionmakeChain
( projectName: string, repositoryUrl: string, contentType: string, chatPrompt: string, targetAudienc
src/cli/commands/query/createChatChain.ts:48
↓ 1 callersFunctionmakeQAPrompt
(projectName: string, repositoryUrl: string, contentType: string, chatPrompt: string, targetAudience: string)
src/cli/commands/query/createChatChain.ts:16
↓ 1 callersFunctionprintModelDetails
(models: LLMModelDetails[])
src/cli/utils/LLMUtil.ts:87
↓ 1 callersFunctionprocessDirectory
(directoryPath: string)
src/cli/commands/index/createVectorStore.ts:27
↓ 1 callersFunctionprocessFile
({ fileName, filePath, projectName, contentType, filePrompt, targetAudience, linkH
src/cli/commands/index/processRepository.ts:66
↓ 1 callersFunctionprocessFile
(filePath: string)
src/cli/commands/index/createVectorStore.ts:10
↓ 1 callersFunctionprocessFolder
({ folderName, folderPath, projectName, contentType, folderPrompt, shouldIgnore, l
src/cli/commands/index/processRepository.ts:182
↓ 1 callersMethodsave
(directory: string)
src/langchain/hnswlib.ts:135
↓ 1 callersFunctionspinnerError
(message?: string)
src/cli/spinner.ts:22
↓ 1 callersFunctiontotalIndexCostEstimate
(models: LLMModelDetails[])
src/cli/utils/LLMUtil.ts:126
Methodconstructor
(private maxConcurrentCalls: number = 50)
src/cli/utils/APIRateLimit.ts:5
Methodconstructor
(public filePath: string)
src/cli/commands/index/createVectorStore.ts:55
Methodconstructor
(embeddings: Embeddings, args: HNSWLibArgs)
src/langchain/hnswlib.ts:29
MethodexecuteCall
()
src/cli/utils/APIRateLimit.ts:9
FunctionforTrue
(fn: () => boolean)
src/cli/utils/WaitUtil.ts:7
MethodfromTexts
( texts: string[], metadatas: object[], embeddings: Embeddings, dbConfig?: { docstore?:
src/langchain/hnswlib.ts:168
Methodindex
()
src/langchain/hnswlib.ts:68
Methodload
(directory: string, embeddings: Embeddings)
src/langchain/hnswlib.ts:150
FunctionprocessFile
({ fileName, filePath, })
src/cli/commands/index/convertJsonToMarkdown.ts:46
MethodsimilaritySearchVectorWithScore
(query: number[], k: number)
src/langchain/hnswlib.ts:111
FunctionspinnerInfo
(message: string)
src/cli/spinner.ts:32
Functionwait
(timeoutMs: number, value: any = null)
src/cli/utils/WaitUtil.ts:1