定制 adachsoft/ai-integration-open-ai-responses 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 13
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-28