Skip to content

Commit

Permalink
Merge pull request #18 from AbQaadir/main
Browse files Browse the repository at this point in the history
Update to the latest OpenAI OpenAPI Specification
  • Loading branch information
xlight05 authored Dec 15, 2024
2 parents b2b96bc + c233fa2 commit 3602190
Show file tree
Hide file tree
Showing 5 changed files with 24,899 additions and 14,055 deletions.
2 changes: 1 addition & 1 deletion ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
distribution = "2201.9.3"
org = "ballerinax"
name = "openai.chat"
version = "3.0.0"
version = "4.0.0"
license = ["Apache-2.0"]
authors = ["Ballerina"]
keywords = ["AI/Chat", "OpenAI", "Cost/Paid", "GPT-4", "ChatGPT", "Vendor/OpenAI"]
Expand Down
6 changes: 3 additions & 3 deletions ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.11.3"
version = "2.11.7"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -96,7 +96,7 @@ modules = [
[[package]]
org = "ballerina"
name = "io"
version = "1.6.1"
version = "1.6.3"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.value"}
Expand Down Expand Up @@ -318,7 +318,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "openai.chat"
version = "3.0.0"
version = "4.0.0"
dependencies = [
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "http"},
Expand Down
4 changes: 3 additions & 1 deletion ballerina/client.bal
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ public isolated client class Client {
return;
}

# Creates a model response for the given chat conversation.
# Creates a model response for the given chat conversation. Learn more in the
# [text generation](/docs/guides/text-generation), [vision](/docs/guides/vision),
# and [audio](/docs/guides/audio) guides.
#
# + headers - Headers to be sent with the request
# + return - OK
Expand Down
Loading

0 comments on commit 3602190

Please sign in to comment.