Skip to content

Tags: ffinly/go-openai

Tags

v1.10.0

Toggle v1.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Support Retrieve model API (sashabaranov#340) (sashabaranov#341)

* Support Retrieve model API (sashabaranov#340)

* Test for GetModel error cases. (sashabaranov#340)

* Reduce the cognitive complexity of TestClientReturnsRequestBuilderErrors (sashabaranov#340)

v1.9.5

Toggle v1.9.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
move marshaller and unmarshaler into internal pkg (sashabaranov#304) (s…

…ashabaranov#325)

v1.9.4

Toggle v1.9.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
change azure engine config to modelMapper (sashabaranov#306)

* change azure engine config to azure modelMapper config

* Update go.mod

* Revert "Update go.mod"

This reverts commit 78d14c5.

* lint fix

* add test

* lint fix

* lint fix

* lint fix

* opt

* opt

* opt

* opt

v1.9.3

Toggle v1.9.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
maintain underlying error structs to allow for type conversion (sasha…

…baranov#293)

* maintain underlying error structs to allow for type conversion and
defensive error checking

* allow Error.Is for Azure responses

* update readme, add tests to ensure type conversion

* fix whitespacing

* read me

* add import to readme example

v1.9.2

Toggle v1.9.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Azure openai list models (sashabaranov#290)

* feat(models): include flow for azure openai endpoint

* feat(models): include flow for azure openai endpoint

* feat(models): include flow for azure openai endpoint

* chore(fullURL): update logic to run in fullURL function

* chore(fullURL): update based on pr comments to use c.config.APIVersion

v1.9.1

Toggle v1.9.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix expected error message (sashabaranov#289)

v1.9.0

Toggle v1.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: chat stream resp error (sashabaranov#259)

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Implement Unmarshaller interface. Resolves sashabaranov#244 (sashabar…

…anov#248)

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update README.md with Azure OpenAI ChatGPT example (sashabaranov#239)

Co-authored-by: coggsflod <[email protected]>

v1.6.1

Toggle v1.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
to fix v1.5.8 Usage return (sashabaranov#223)

* add ChatCompletionStream Usage return

* ChatCompletionStreamResponse will bot return Usage

* remove the Usage field from the response, it would not be there anyway.

---------

Co-authored-by: lihang <[email protected]>