Somehow I am getting much consistent results now. My Azure subscription does not have codex (or even davinci) model. So I am using gpt-35-turbo for this. I am not sure what (e.g. model) has changed in my environment but now it is consistent. I will close this issue. Sorry for the false alarm and any inconvenience. The other two issues are still of my interest.
Azure Open AI Service not giving desired results for Codex-CLI
Sameer Mahajan
25
Reputation points
Microsoft has published https://github.com/microsoft/Codex-CLI It currently works with only Open AI and not Azure Open AI
I manually queried Azure Open AI with completion constructed by Codex-CLI When I send for example a query like
# what is My IP?
I was expecting a response like
curl ifconfig.me
as predefined in the contexts. However I get back some random linux / bash command - different one for every different execution. This doesn't sound right.
You can read the details of the issue I have raised on the repo at: https://github.com/microsoft/Codex-CLI/issues/136
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,087 questions