AIStoryBuilders / AIStoryBuildersOnline

Write your next novel faster and easier
https://aistorybuilders.com/
MIT License
5 stars 1 forks source link

Azure OpenAI config storage issue #5

Open sayanghosh123 opened 1 month ago

sayanghosh123 commented 1 month ago

Was trying to save the AOAI config but am coming up against this issue.

Error You're attempting to pass a "domain" parameter to "resourceName". Please specify "domain:" for this parameter in constructor.

Am I entering something in the incorrect format, or could there be an issue with the AOAI path?

ADefWebserver commented 1 month ago

This may help: image

sayanghosh123 commented 1 month ago

Thanks - that helps. I was entering the whole URI format for the endpoint.

I keep getting this now though when I save the config.

GetCompletionAsync Failed! HTTP status code: NotFound | Response body: {"error":{"code":"404","message": "Resource not found"}}

I'd try using some of the capabilities and see if it still works.

ADefWebserver commented 1 month ago

I keep getting this now though when I save the config.

GetCompletionAsync Failed! HTTP status code: NotFound | Response body: {"error":{"code":"404","message": "Resource not found"}}

I suspect you do not have Deployments with the exact names of "gpt-4" and "text-embedding-ada-002"

sayanghosh123 commented 1 month ago

I keep getting this now though when I save the config. GetCompletionAsync Failed! HTTP status code: NotFound | Response body: {"error":{"code":"404","message": "Resource not found"}}

I suspect you do not have Deployments with the exact names of "gpt-4" and "text-embedding-ada-002"

I did customise them to suit my deployment names. I'll do some more troubleshooting at my end and report back.

ADefWebserver commented 1 month ago

Also check the "Azure OpenAI Api Version"