Comments (7)
Is anyone already working on the feature? Is there anything I can do to help?
from client.
Just created a PR for this, It maps each event onto the correct object classes.
So you can loop through the stream and perform whichever actions you want at each event.
Im fairly sure its feature complete, but let me know if anything might be missing from it.
Its working fine on my project so far.
from client.
Need this feature for my project too. I'm looking forward to it
from client.
I was thinking of opening the same thing and was looking at the other completion stream implementations to try and implement myself but didn't make much progress. Would love this feature to be added
from client.
+1 for streaming assistant support pretty, pretty please.
from client.
Any updates on it. We are blocked due to not having this feature.
Thanks,
Sarathi
from client.
Implemented in the latest release: https://github.com/openai-php/client/releases/tag/v0.9.0
from client.
Related Issues (20)
- [Bug]: JSON format is not supported
- [Improvement]: `dd` is not a PHP function, the first image of readme.md needs to be changed. use `var_dump` or `print_r` HOT 1
- [Bug]: HOT 1
- Fatal error: Cannot declare class OpenAI, because the name is already in use in E:\Xampp_8.2\htdocs\ia\vendor\openai-php\client\src\OpenAI.php on line 8 [Bug]: HOT 2
- [Feature]: Compatibility with assistants v2 HOT 4
- [improvement]: No support for assistant version v2 HOT 27
- Usage stats are now available when using streaming in the Chat Completions API HOT 11
- [file_search]: Do we have to wait for the v2 API to get file_search? HOT 5
- Undefined array key "file_ids"[Bug]: HOT 4
- API V2 Library? HOT 2
- Support Stream for Thread using Assistant HOT 4
- How to use data but not share with others people HOT 1
- [Bug]: MistralAI- Undefined array key "type" HOT 3
- Exceptions should have more detailed information, like what was the RESPONSE text. HOT 1
- [Bug]: ErrorException: Undefined array key "outputs" HOT 4
- [Bug]: Azure Asynchronous Filter HOT 3
- [Bug]: Faking custom metadata key-value pairs in responses is not possible HOT 1
- [Bug]: Undefined array key "input" when streaming with files attached HOT 1
- [Bug]: Undefined array key "outputs" when using code interpreter on a thread HOT 3
- [Bug]: Undefined array key \"input\" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client.