cescoffier / quarkus-llm-workshop

Quarkus LLM workshop
https://cescoffier.github.io/quarkus-llm-workshop/
Apache License 2.0
17 stars 11 forks source link

Azure OpenAI doesn't work with Free Subscriptions anymore #21

Open eldermoraes opened 3 months ago

eldermoraes commented 3 months ago

Hi there!

I was trying to set my environment to run the workshop and was stopped by this error:

(SpecialFeatureOrQuotaIdRequired) The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature. Code: SpecialFeatureOrQuotaIdRequired Message: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature.

Then I discovered that Microsoft no longer supports Azure OpenAI for Free Subscriptions. You can check the full answer here.

Here is a summary:

Your subscription should be a pay-as-you-go account to ensure Azure OpenAI deployments are successful once your request is approved. If you are using any of the above subscriptions, please upgrade to pay-as-you-go and try.

Do we have any other option to run the tutorial?

cescoffier commented 3 months ago

Not really - you can use OpenAI directly but you still need to pay (not a subscription, the pay per use plan is enough)

eldermoraes commented 3 months ago

Ok! And how to use OpenAI directly?

cescoffier commented 3 months ago

Check https://docs.quarkiverse.io/quarkus-langchain4j/dev/openai.html

Basically, you need to change the extension and tune a bit the configuration

On Mon 25 Mar 2024 at 16:47, Elder Moraes @.***> wrote:

Ok! And how to use OpenAI directly?

— Reply to this email directly, view it on GitHub https://github.com/cescoffier/quarkus-llm-workshop/issues/21#issuecomment-2018321116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADCG7PW7UJA4OELXWR54CLY2BBJRAVCNFSM6AAAAABFDRVV66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJYGMZDCMJRGY . You are receiving this because you commented.Message ID: @.***>