Download the PHP package jeeinn/qf_app_builder without Composer
On this page you can find all versions of the php package jeeinn/qf_app_builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jeeinn/qf_app_builder
More information about jeeinn/qf_app_builder
Files in jeeinn/qf_app_builder
Download jeeinn/qf_app_builder
More information about jeeinn/qf_app_builder
Files in jeeinn/qf_app_builder
Vendor jeeinn
Package qf_app_builder
Short Description qianfan app builder php sdk base on openApi
License MIT
Package qf_app_builder
Short Description qianfan app builder php sdk base on openApi
License MIT
Please rate this library. Is it a good library?
Informations about the package qf_app_builder
qf_app_builder
qianfan AppBuilder openApi sdk wrapper
百度千帆 AppBuilder openApi sdk wrapper
官方文档地址:https://cloud.baidu.com/doc/AppBuilder/s/klv2eywua
安装
示例
测试用例
请先修改 tests/AgentTest.php
中的 $appId 和 $appToken 参数
单元测试
方法列表
- newConversation()
- uploadFile($filePath, $conversationId)
- talk($conversationId, $query, $fileId)
- talkStream($conversationId, $query, $fileId, $callback, $callbackErr)
其中 talkStream() 方法暂时废弃,并没有很好的解决 stream 模式下的数据乱序问题,请使用 talk() 方法。
有能力和精力的话,希望有人可以帮忙重新实现这个方法。
2024/5/9: 测试 talkStream()
方法已经可以正常调用,方便自己重新组装 EventStream 数据流。
All versions of qf_app_builder with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
guzzlehttp/guzzle Version ^7.8
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.8
ext-json Version *
ext-mbstring Version *
The package jeeinn/qf_app_builder contains the following files
Loading the files please wait ....