Skip to content

Conversation

@lzell
Copy link
Contributor

@lzell lzell commented Jul 20, 2024

  • Starting next week, all AIProxy integrations will require a service URL. Developers each get their own service URL to proxy requests through. The service URL is displayed in the AIProxy dashboard when you configure your project.
  • The AIProxy integration code changes from this:
let service = OpenAIServiceFactory.service(
    aiproxyPartialKey: "your_partial_key_goes_here"
)

to this:

let service = OpenAIServiceFactory.service(
    aiproxyPartialKey: "your_partial_key_goes_here",
    aiproxyServiceURL: "your_service_url_goes_here"
)

[release version](https://github.com/jamesrochabrun/SwiftOpenAI/releases) that you'd like to support, and then
tab out of the input box for Xcode to adjust the upper bound. Alternatively, you may select `branch` -> `main`
to stay on the bleeding edge.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamesrochabrun I snuck this note in, per the discussion here: #60 . Please let me know if you'd like to keep it

Copy link
Owner

@jamesrochabrun jamesrochabrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jamesrochabrun jamesrochabrun merged commit ca23a7e into jamesrochabrun:main Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants