docs: add tools doc - #17
Conversation
WalkthroughThe changes introduce new documentation and configuration for a set of AI tools within a documentation site. The navigation and sidebar are updated to include a "工具" (Tools) section, with entries for "AI模型交互工具类" (AI Model Interaction Utility) and "消息与数据管理" (Message and Data Management). Two new documentation files are added: one detailing the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant DocsSite
participant AIClient
participant AI Model
User ->> DocsSite: Navigates to /tools/ai-client
DocsSite ->> User: Displays AIClient documentation
User ->> DocsSite: Navigates to /tools/message
DocsSite ->> User: Displays useMessage documentation
User ->> AIClient: chat(request)
AIClient ->> AI Model: Sends chat request
AI Model -->> AIClient: Returns response
AIClient -->> User: Returns ChatCompletionResponse
User ->> AIClient: chatStream(request, handler)
AIClient ->> AI Model: Sends streaming chat request
AI Model -->> AIClient: Streams data chunks
AIClient -->> User: Calls handler.onData/onDone/onError
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit