-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cannot use Azure OpenAI any more #30
Comments
Log output:
|
I think I do the same as this code example: |
From my debuugin it seems that it fails in this line allreday: bosquet/src/bosquet/complete.clj Line 23 in 95d410a
It does not take the passed in options into account to construct the llm record. |
Even if this syntax would work:
how should we be able to configure the options for "llm/azure" ? |
The issue applies to |
I do not have MS Azure account (tried going through the OAI application form and it requires a company email etc). Is this still the case with (complete-template
"You are a playwright. Given the play's title and it's genre write a synopsis for that play.
Title: {{title}}
Genre: {{genre}}
Playwright: This is a synopsis for the above play: {% gen var-name=text %}"
{:title "Mr. X" :genre "crime"}
{:text {:bosquet.llm/service [:llm/openai :provider/azure]
:bosquet.llm/model-parameters {:temperature 0 :model "gpt-4"}}}) Does it work? For both |
yes, both work. |
Using this in v 0.3.6
config.edn
I am not able to switch to use azure open AI. I get exception on missing/wrong OpenAI key.
I debugged this intensively but could not figure out, if my configuration or teh code is teh problem.
The text was updated successfully, but these errors were encountered: