Tracy Teal
08/07/2024, 10:37 PMNick Heilman <nihei@microsoft.com>
I'm an Azure CSA working on some experiments with Azure AI Studio. I am really interested in the Timegen model, but following all of the simple 'hello world' tutorials on doing a simple forecast give me a 405 error. This is even with the sample github data and my own file I want to forecast. Due to the non-verbose error, not really sure what to troubleshoot. Any insight would be greatly appreciated.
Tracy Teal
08/08/2024, 4:22 PMTracy Teal
08/08/2024, 9:14 PMHmm, still no luck I tried both models.ai.azure.com and inference.ai.azure.com.
Tracy Teal
08/08/2024, 9:14 PMAlso, in the doc you provided (thanks btw!) it says to put the "azureai" as the model parameter, which then fails later on with this -
Tracy Teal
08/08/2024, 9:16 PMJosé Morales
08/08/2024, 9:19 PMJosé Morales
08/08/2024, 9:21 PMimport requests
requests.post(
f'{base_url}validate_token',
headers={'Authorization': f'Bearer {api_key}')
)
Tracy Teal
08/08/2024, 9:32 PMTracy Teal
08/09/2024, 6:38 PMThat was the original repo I started this with. After updating the 'model' to timegpt-1, it errors out after 6 attempts with this -
[Errno 11001] getaddrinfo failed
Tracy Teal
08/09/2024, 6:39 PMJosé Morales
08/09/2024, 6:41 PMTracy Teal
08/09/2024, 6:42 PMimport requests
<http://requests.post|requests.post>(
f'{base_url}validate_token',
headers={'Authorization': f'Bearer {api_key}')
)
Tracy Teal
08/09/2024, 6:43 PMTracy Teal
08/09/2024, 6:44 PMJosé Morales
08/09/2024, 6:46 PMTracy Teal
08/09/2024, 6:47 PM