jamesrochabrun / SwiftOpenAI

An open-source Swift package for interacting with OpenAI's public API.
MIT License
355 stars 54 forks source link

Add serviceURL to AIProxy integration #63

Closed lzell closed 3 months ago

lzell commented 3 months ago
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"
)