承接 pandarose/ollama-stream 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

pandarose/ollama-stream

Composer 安装命令:

composer require pandarose/ollama-stream

包简介

Stream a real-time response from a local Ollama model

README 文档

README

A PHP client for the Ollama API, allowing for streaming responses from the API.

Features

  • Supports streaming and non-streaming responses
  • Calls a callback function for each word received from the API

Example Usage

See the example.php file for a basic usage example.

Requirements

  • PHP 8.1+
  • Amp HTTP Client library (amp/http-client)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-28