Pamela Fox
Pamela Fox
Interesting, it should only use that if you explicitly set openaikey, which comes from the OPENAI_API_KEY environment variable. Can you check if OPENAI_API_KEY is set in your azd environment (azd...
Okay, that means the generated token from that token provider is coming out at 12K tokens. I'm not sure if that's the actual issue, am chatting with OpenAI SDK engineers.
Update: You actually shouldn't even have an api-key header, only an Authorization header. I wonder if its failing to get a token and falling back to a key. Do you...
Can you try my changes in https://github.com/Azure-Samples/azure-search-openai-demo/pull/1228 ?
It is already part of data ingestion, per the docs at https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/data_ingestion.md What additional integration are you looking for?
@rupamGH Ah, then you'll need my changes here: https://github.com/Azure-Samples/azure-search-openai-demo/pull/1224 We hope to merge them soon but you can copy them into your code for now and try them out.
Sometimes that means the app is still starting up (the code isn't fully loaded), have you tried waiting 10 minutes and checking again?
Okay, well the error indicates that it can't find main.py, which means something went awry with the code upload, since app/backend/ should have a main.py. You could try re-running "azd...
Hm, the Oryx build logs look fine. Your logs look like what I see when the app starts to restart the server before it has the code fully ready. It...
@MarPeg53 Are you able to SSH into the server from the Portal? If you can, then you can poke around and see what files are actually there. If you can't...