We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for all your help It may need to be modified as follows
# https://github.com/openai-php/client/blob/f6b47acbe326851a790d158a56e6bedb4e533f67/src/Testing/Responses/Concerns/Fakeable.php#L50 public static function fakeResponseMetaInformation(): MetaInformation { return MetaInformation::from([ 'openai-model' => ['gpt-3.5-turbo-instruct'], 'openai-organization' => ['org-1234'], 'openai-processing-ms' => ['410'], 'openai-version' => ['2020-10-01'], 'x-ratelimit-limit-requests' => ['3000'], 'x-ratelimit-limit-tokens' => ['250000'], 'x-ratelimit-remaining-requests' => ['2999'], 'x-ratelimit-remaining-tokens' => ['249989'], 'x-ratelimit-reset-requests' => ['20ms'], 'x-ratelimit-reset-tokens' => ['2ms'], 'x-request-id' => ['3813fa4fa3f17bdf0d7654f0f49ebab4'], ]); }
$meta = (new ClientFake([CreateResponse::fake()]))->chat()->create([ 'messages' => [ ['role' => 'system', 'content' => 'hello'], ], ])->meta(); dump($meta);
0.8.0
8.1.13
No response
The text was updated successfully, but these errors were encountered:
Thank you!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
Thank you for all your help
It may need to be modified as follows
Steps To Reproduce
OpenAI PHP Client Version
0.8.0
PHP Version
8.1.13
Notes
No response
The text was updated successfully, but these errors were encountered: