chatbot/graph
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
chatbot/graph
Section titled “chatbot/graph”- Package:
@leipzigtreechat/chatbot - Source file:
packages/chatbot/src/graph.ts
Summary
Section titled “Summary”Builds the chatbot state graph with the package’s standard node wiring.
Functions
Section titled “Functions”ChatBotGraph
Section titled “ChatBotGraph”function ChatBotGraph(printMessage: (message: BaseMessage) => Promise<void>, getUserInput: () => Promise<string>, onMetadata: ChatBotMetadataCallback): voidBuilds the chatbot state graph with the package’s standard node wiring.
Parameters
printMessage((message: BaseMessage) => Promise): Called whenever the graph produces an assistant message for the user. getUserInput(() => Promise): Resolves the next user input whenever the graph waits for input. onMetadata(ChatBotMetadataCallback): Optional observer for progress and error metadata emitted by the nodes. Defined at: line 22
In chatbot
Section titled “In chatbot”chatbot/__benchmarks__/fixtureschatbot/__benchmarks__/indexchatbot/__benchmarks__/reportchatbot/__benchmarks__/runnerchatbot/__benchmarks__/scoringchatbot/__benchmarks__/typeschatbot/constantschatbot/errorschatbot/graphchatbot/indexchatbot/langgraph-runtimechatbot/llm-servicechatbot/metadatachatbot/nodeschatbot/state/clarification_conversationchatbot/state/indexchatbot/state/qanary-typeschatbot/triplestore-servicechatbot/unit