cognesy/instructor-addons 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cognesy/instructor-addons

最新稳定版本:v2.3.1

Composer 安装命令:

composer require cognesy/instructor-addons

包简介

Optional addons for Instructor library, should be used with Instructor or Polyglot

README 文档

README

This repository contains the source code for the addons to Instructor, which are extra capabilities useful in certain scenarios.

Addons expand LLM capabilities but are not required for basic functionality.

Key Components

  • Agent - Tool-calling agent with iterative execution, state management, and extensible capabilities. See AGENT.md.
  • StepByStep - Foundational architecture for iterative, state-based processes with configurable continuation criteria. See STEPBYSTEP.md.
  • ToolUse - LLM tool calling with automatic execution and result handling. See TOOLUSE.md.
  • Chat - Multi-participant conversations with configurable behavior. See CHAT.md.

Recent Updates (2026-01-16)

  • Continuation Observability: ContinuationOutcome and ContinuationEvaluation provide full decision tracing
  • Error Policy: Configurable retry behavior with ErrorPolicy::retryToolErrors(), stopOnAnyError(), etc.
  • Time Tracking: Per-execution timing (executionStartedAt) and cumulative timeout support
  • Slim Serialization: SlimAgentStateSerializer for compact state payloads
  • Message Helpers: isAssistant(), isTool(), isUser(), isSystem(), hasRole() on Message class
  • Broadcasting: AgentEventEnvelopeAdapter supports Laravel Reverb/Pusher with a wiretap integration

统计信息

  • 总下载量: 206
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固