Azure-Samples / azure-search-power-skills

A collection of useful functions to be deployed as custom skills for Azure Cognitive Search
MIT License
283 stars 168 forks source link

Open AI Embedding Skill Timeout Issue #118

Closed miggytrinidad closed 1 year ago

miggytrinidad commented 1 year ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I implemented this sample skill for Open AI Embeddings. (https://github.com/Azure-Samples/azure-search-power-skills/blob/main/Vector/EmbeddingGenerator/README.md) I am having some issues using it with a timeout issue with the skill. I did increase the timeout in host.json and using "AzureFunctionsJobHost__functionTimeout" but still having the 30 sec timeout.

Any idea on how to resolve this?

Any log messages given by the failure

Could not execute skill because it did not execute within the time limit '00:00:30'. This is likely transient. Please try again later. For custom skills, consider increasing the 'timeout' parameter on your skill in the skillset.

Expected/desired behavior

Embeddings and chunks will be updated after running the custom skillset.

Mention any other details that might be useful


Thanks! We'll be in touch soon.

miggytrinidad commented 1 year ago

UPDATE: I am able to make it work by increasing the skillset timeout to the maximum 230 sec:

"timeout": "PT3M50S",