MCPcopy Create free account
hub / github.com/Snailclimb/interview-guide / queryKnowledgeBaseStream

Function queryKnowledgeBaseStream

frontend/src/api/knowledgebase.ts:182–203  ·  view source on GitHub ↗

* 基于知识库回答问题(流式SSE) * 注意:SSE 使用 fetch API,不走统一的 axios 封装

(
    req: QueryRequest,
    onMessage: (chunk: string) => void,
    onComplete: () => void,
    onError: (error: Error) => void
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

streamSseFunction · 0.90

Tested by

no test coverage detected