Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/context-labs/toly-gpt
/ functions
Functions
19 in github.com/context-labs/toly-gpt
⨍
Functions
19
◇
Types & classes
2
↓ 5 callers
Function
sendResponse
({ sender, message, type }: { sender: string, message: string, type: string })
pages/api/chat-stream.ts:29
↓ 3 callers
Method
load
()
ingest/ingest.ts:58
↓ 3 callers
Function
sendData
(data: string)
pages/api/chat.ts:25
↓ 2 callers
Function
makeChain
(vectorstore: HNSWLib, onTokenStream?: (token: string) => void)
pages/api/util.ts:37
↓ 1 callers
Function
fromDocuments
( docs: Document[], embeddings: Embeddings, dbConfig ?: { docstore?: InMemoryDocstore; } )
ingest/ingest.ts:63
↓ 1 callers
Function
handleSubmit
(e: any)
pages/index.tsx:52
↓ 1 callers
Function
processDirectory
(directoryPath: string)
ingest/ingest.ts:27
↓ 1 callers
Function
processFile
(filePath: string)
ingest/ingest.ts:12
↓ 1 callers
Function
run
()
ingest/ingest.ts:82
Function
App
({ Component, pageProps }: AppProps)
pages/_app.tsx:4
Function
Document
()
pages/_document.tsx:3
Function
Home
()
pages/index.tsx:18
Function
Markdown
({ markdown, baseUrl, articleUrl, })
components/Markdown.tsx:13
Function
code
({ inline, className, children, ...props })
components/Markdown.tsx:61
Method
constructor
(public filePath: string)
ingest/ingest.ts:55
Function
handleEnter
(e: any)
pages/index.tsx:109
Function
handler
(req: NextApiRequest, res: NextApiResponse)
pages/api/chat-stream.ts:10
Function
handler
( req: NextApiRequest, res: NextApiResponse )
pages/api/chat.ts:8
Function
onNewToken
(token: string)
pages/api/chat-stream.ts:33