alibabacloud-sls-sdk-guidance
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWorkflow
工作流程
- Read first.
references/route.md - Identify the user's primary intent: install, write logs, consume logs, or query logs.
- Pick exactly one scenario file from unless the user explicitly asks for comparison across multiple scenarios.
references/scenarios/ - Follow references from the scenario file to the relevant SDK .
index.md - Read SDK-level or
write-logs.mdonly when the scenario points to it or the user asks for concrete code.consume-logs.md - Do not scan unrelated SDK directories.
- When recommending an SDK, explain why it fits and mention when it should not be used.
- For version-sensitive installation commands, avoid inventing exact latest versions. Use package-manager commands that resolve latest versions, or use version placeholders for Maven/Gradle production examples.
- 首先阅读。
references/route.md - 识别用户的核心需求:安装、写入日志、消费日志或查询日志。
- 除非用户明确要求对比多个场景,否则仅从中选择一个场景文件。
references/scenarios/ - 遵循场景文件中的指引,查看对应的SDK 。
index.md - 仅当场景文件指向或用户要求具体代码时,才阅读SDK级别的或
write-logs.md。consume-logs.md - 不要扫描无关的SDK目录。
- 推荐SDK时,需说明其适配原因,并提及不适用于哪些场景。
- 对于对版本敏感的安装命令,请勿自行编造确切的最新版本。使用能自动解析最新版本的包管理器命令,或在Maven/Gradle生产示例中使用版本占位符。