承接 ngvritishvili/open_ai_cli 相关项目开发

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

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

ngvritishvili/open_ai_cli

Composer 安装命令:

composer require ngvritishvili/open_ai_cli

包简介

Integrate OpenAI with PHP for CLI support

README 文档

README

Integrate AI CLI for you laravel project to communicate with open AI directly from command line.

Requirements

  1. Laravel ^10

Install

composer require ngvritishvili/open_ai_cli:dev-main --with-all-dependencies

After installation run command to install open-ai: php artisan openai:install
Add variable in .env file :

OPENAI_API_KEY=
OPENAI_ORGANIZATION=
OPENAI_REQUEST_TIMEOUT=

You can generate key from open-ai "https://platform.openai.com/api-keys"
And organization : "https://platform.openai.com/account/organization"

Usage

You can start chat with AI with artisan command : ai-cli:chat

Congratulation

Good luck

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-03