docs: quickstart#120
Open
JJuprising wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
新增 Hy3 云端 API(
tokenhub.tencentmaas.com/v1)的完整接入文档,提供从快速上手到生产级错误处理的一站式参考,覆盖基础对话、流式、工具调用、思考模式及重试策略等典型场景。变更内容
新增:
api-docs/quickstart.md单页快速入门指南,覆盖开发者接入所需的全部基础信息:
curl+ PythonopenaiSDK,各附预期输出temperature、top_p、max_tokens、stop、stream、seed、tools、tool_choice——含类型、默认值及注意事项no_thinkvshigh对比,含代码示例及 max_tokens 注意事项新增:
api-docs/examples/(6 个独立可运行示例)01-basic-chat.md02-streaming.md03-streaming-vs-non-streaming.md04-tool-calling.md05-reasoning-mode.mdno_thinkvshigh在数学证明题上的对比实验,含 token 消耗和回复质量分析06-error-handling-retry.mdRetryHandler类封装(含日志)每个示例统一结构:完整请求代码 → response 解析 → 注释示例输出 → 关键要点总结表。