Chris Duell

Results 6 comments of Chris Duell

Just jumping in here, I can confirm this. The URL structure is for example: `{openai_api_base}/openai/deployments/{deployment_name}/completions?api-version={openai_api_version}`

Neat 🙌 I couldn't see how that would end up with the correct full endpoint as above though? Unless you were meaning that it's currently a big step in that...

Ha! Beat me to it, I was just about to say the entire URL up to `/completions` could be used as the base URL ✌️

Nice one. It works well, a few notes: `->withApiKey()` is not needed, since `->withHttpHeader()` handles it. So the setup needed is just: ```php $client = OpenAI::factory() ->withBaseUri('{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}') ->withHttpHeader('api-key', '{your-api-key}') ->withQueryParam('api-version',...

I'm having the same issue, when attempting to run `./goMarkableStream` from within the Remarkable device.