adachsoft/ai-integration-open-ai-responses

OpenAI responses integration for adachsoft/ai-integration.

Maintainers

Package info

gitlab.com/a.adach/ai-integration-open-ai-responses

Issues

pkg:composer/adachsoft/ai-integration-open-ai-responses

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

dev-main 2026-04-30 15:53 UTC

This package is not auto-updated.

Last update: 2026-04-30 13:55:35 UTC


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