MCPcopy Index your code

hub / github.com/a16z-infra/companion-app / functions

Functions35 in github.com/a16z-infra/companion-app

↓ 8 callersMethodwriteToHistory
(text: string, companionKey: CompanionKey)
src/app/utils/memory.ts:99
↓ 6 callersMethodreadLatestHistory
(companionKey: CompanionKey)
src/app/utils/memory.ts:114
↓ 6 callersFunctionreturnError
(code: number, message: string)
src/app/api/steamship/route.ts:11
↓ 5 callersMethodgetInstance
()
src/app/utils/config.ts:13
↓ 5 callersFunctionrateLimit
(identifier: string)
src/app/utils/rateLimit.ts:4
↓ 3 callersMethodgenerateRedisCompanionKey
(companionKey: CompanionKey)
src/app/utils/memory.ts:95
↓ 3 callersMethodseedChatHistory
( seedContent: String, delimiter: string = "\n", companionKey: CompanionKey )
src/app/utils/memory.ts:130
↓ 3 callersMethodvectorSearch
( recentChatHistory: string, companionFileName: string )
src/app/utils/memory.ts:44
↓ 2 callersMethodgetConfig
(fieldName: string, configValue: string)
src/app/utils/config.ts:20
↓ 2 callersMethodinit
()
src/app/utils/memory.ts:35
↓ 1 callersFunctionclassNames
(...classes: string[])
src/components/Navbar.tsx:13
↓ 1 callersFunctionfetchData
()
src/components/Examples.tsx:28
↓ 1 callersFunctiongetCompanions
()
src/components/actions.ts:9
↓ 1 callersFunctionisPhoneNumber
(input: string)
src/components/Examples.tsx:128
↓ 1 callersFunctiononSubmit
(e: any)
src/components/TextToImgModal.tsx:18
↓ 1 callersFunctionresponseToChatBlocks
(completion: any)
src/components/ChatBlock.tsx:42
FunctionChatBlock
({text, mimeType, url} : { text?: string, mimeType?: string, url?: string })
src/components/ChatBlock.tsx:6
FunctionExamples
()
src/components/Examples.tsx:9
FunctionHome
()
src/app/page.tsx:4
FunctionInputCard
()
src/components/InputCard.tsx:1
FunctionNavbar
()
src/components/Navbar.tsx:17
FunctionPOST
(req: Request)
src/app/api/chatgpt/route.ts:15
FunctionPOST
(request: Request)
src/app/api/vicuna13b/route.ts:13
FunctionPOST
(req: Request)
src/app/api/steamship/route.ts:23
FunctionPOST
(request: Request)
src/app/api/llama2-13b/route.ts:13
FunctionPOST
(request: Request)
src/app/api/text/route.ts:12
FunctionPage
()
src/app/sign-up/[[...sign-up]]/page.tsx:3
FunctionPage
()
src/app/sign-in/[[...sign-in]]/page.tsx:3
FunctionQAModal
({ open, setOpen, example, }: { open: boolean; setOpen: any; example: any; })
src/components/QAModal.tsx:10
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
src/app/layout.tsx:12
FunctionTextToImgModal
({ open, setOpen, }: { open: boolean; setOpen: any; })
src/components/TextToImgModal.tsx:9
Methodconstructor
()
src/app/utils/config.ts:8
Methodconstructor
()
src/app/utils/memory.ts:19
MethodgetInstance
()
src/app/utils/memory.ts:87
FunctionhandleClose
()
src/components/QAModal.tsx:56