chatbot/index
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
chatbot/index
Section titled “chatbot/index”- Package:
@leipzigtreechat/chatbot - Source file:
packages/chatbot/src/index.ts
Summary
Section titled “Summary”Re-exported from ”./graph.js”.
Functions
Section titled “Functions”createInitialAgentState
Section titled “createInitialAgentState”function createInitialAgentState(): AgentStateCreates the initial graph state expected by the chatbot runtime.
The state starts in question mode and already contains the assistant greeting so UIs can render the opening message before the first user turn.
Returns
AgentStateDefined at: line 24
Constants
Section titled “Constants”INITIAL_ASSISTANT_MESSAGE_CONTENT
Section titled “INITIAL_ASSISTANT_MESSAGE_CONTENT”const INITIAL_ASSISTANT_MESSAGE_CONTENT: stringInitial assistant greeting inserted into a freshly created chatbot state.
Defined at: line 15
Members
Section titled “Members”ChatBotGraph
Section titled “ChatBotGraph”export { ChatBotGraph }Re-exported from ”./graph.js”.
Defined at: line 4
CHATBOT_METADATA_MESSAGES
Section titled “CHATBOT_METADATA_MESSAGES”export { CHATBOT_METADATA_MESSAGES }Re-exported from ”./metadata.js”.
Defined at: line 6
ChatBotMetadataCallback
Section titled “ChatBotMetadataCallback”export { type ChatBotMetadataCallback }Re-exported from ”./metadata.js”.
Defined at: line 7
ChatBotMetadataEvent
Section titled “ChatBotMetadataEvent”export { type ChatBotMetadataEvent }Re-exported from ”./metadata.js”.
Defined at: line 8
ChatBotMetadataStatus
Section titled “ChatBotMetadataStatus”export { type ChatBotMetadataStatus }Re-exported from ”./metadata.js”.
Defined at: line 9
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