adachsoft/ai-integration-open-ai-responses
Composer 安装命令:
composer require adachsoft/ai-integration-open-ai-responses
包简介
OpenAI responses integration for adachsoft/ai-integration.
关键字:
README 文档
README
Moonshot provider for adachsoft/ai-integration tool-calling API.
Installation
composer require adachsoft/ai-integration-moonshot
Usage
use AdachSoft\AiIntegration\ToolCalling\ToolCallingChatFacadeBuilder;
use AdachSoft\AiIntegrationMoonshot\MoonshotProvider;
$builder = ToolCallingChatFacadeBuilder::create();
MoonshotProvider::register($builder, getenv('MOONSHOT_API_KEY'));
$facade = $builder->build();
// Use $facade with your ToolCallingChatRequest DTO where you select the model id.
Production test
To run the production test you need a valid Moonshot API key.
export MOONSHOT_API_KEY=your_api_key_here
# optionally override the default model
export MOONSHOT_MODEL=moonshot-v1-8k
vendor/bin/phpunit tests/Production/ToolCalling/MoonshotProviderProductionTest.php --group external
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-28