modelflow-ai / fireworksai-adapter
将fireworks.ai的LLM整合到modelflow-ai中。
0.2.0
2024-08-25 18:33 UTC
Requires
- php: ^8.2
- nyholm/psr7: ^1.8
- openai-php/client: ^0.8
- symfony/http-client: ^6.4 || ^7.0
Requires (Dev)
- asapo/remove-vendor-plugin: ^0.1
- jangregor/phpstan-prophecy: ^1.0
- modelflow-ai/chat: ^0.2
- modelflow-ai/completion: ^0.2
- modelflow-ai/embeddings: ^0.2
- modelflow-ai/image: ^0.2
- modelflow-ai/prompt-template: ^0.2
- php-cs-fixer/shim: ^3.15
- phpspec/prophecy: ^1.0@dev
- phpspec/prophecy-phpunit: ^2.1@stable
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^1.10, <1.10.55
- phpstan/phpstan-phpunit: ^1.3@stable
- phpunit/phpunit: ^10.3
- rector/rector: ^0.18.1
- symfony/cache: ^7.1
- symfony/console: ^7.1
- symfony/dotenv: ^7.1
Suggests
- modelflow-ai/chat: To use the chat-completion.
- modelflow-ai/embeddings: To use the embeddings.
- modelflow-ai/image: To use the image generation.
This package is auto-updated.
Last update: 2024-08-25 18:52:46 UTC
README
Modelflow AI
Fireworks.ai 适配器
该适配器将fireworks.ai托管的开源模型集成到Modelflow AI中。
注意:这是modelflow-ai项目的部分,有关问题请在主仓库中创建。
注意:该项目正在积极开发中,任何反馈都将非常受重视。
安装
要安装Fireworks.ai适配器包,您需要在您的机器上安装PHP 8.2或更高版本以及Composer。然后,您可以通过运行以下命令将包添加到项目中:
composer require modelflow-ai/fireworksai-adapter
示例
以下是您如何在PHP应用程序中使用Fireworks.ai适配器的示例。您可以在示例目录中找到更多详细示例。
用法
将提供详细的使用说明。目前,您可以参考源代码和单元测试以获取使用示例。
贡献
欢迎贡献。请在此https://github.com/modelflow-ai/.github的主仓库中打开问题或提交拉取请求。
许可证
该项目受MIT许可证的许可。有关完整的版权和许可信息,请查看与源代码一起分发的LICENSE文件。