Skip to content

Commit db46cfa

Browse files
Merge pull request #2664 from eric-urban/eur/aoai-faq
FAQ to get the model to respond in a specific language
2 parents 95d23e8 + becf8a6 commit db46cfa

File tree

1 file changed

+28
-18
lines changed

1 file changed

+28
-18
lines changed

articles/ai-services/openai/faq.yml

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,7 @@ sections:
6464
Where can I read about better ways to use Azure OpenAI to get the responses I want from the service?
6565
answer: |
6666
Check out our [introduction to prompt engineering](./concepts/prompt-engineering.md). While these models are powerful, their behavior is also very sensitive to the prompts they receive from the user. This makes prompt construction an important skill to develop. After you've completed the introduction, check out our article on [system messages](./concepts/advanced-prompt-engineering.md).
67-
- question: |
68-
My guest account has been given access to an Azure OpenAI resource, but I'm unable to access that resource in the Azure AI Foundry portal. How do I enable access?
69-
answer: |
70-
This is expected behavior when using the default sign-in experience for the [Azure AI Foundry](https://ai.azure.com).
71-
72-
To access Azure AI Foundry from a guest account that has been granted access to an Azure OpenAI resource:
73-
74-
1. Open a private browser session and then navigate to [https://ai.azure.com](https://ai.azure.com).
75-
2. Rather than immediately entering your guest account credentials instead select `Sign-in options`
76-
3. Now select **Sign in to an organization**
77-
4. Enter the domain name of the organization that granted your guest account access to the Azure OpenAI resource.
78-
5. Now sign-in with your guest account credentials.
79-
80-
You should now be able to access the resource via the Azure AI Foundry portal.
81-
82-
Alternatively if you're signed into the [Azure portal](https://portal.azure.com) from the Azure OpenAI resource's Overview pane you can select **Go to Azure AI Foundry** to automatically sign in with the appropriate organizational context.
67+
8368
- question: |
8469
When I ask GPT-4 which model it's running, it tells me it's running GPT-3. Why does this happen?
8570
answer: |
@@ -95,6 +80,15 @@ sections:
9580
9681
To learn more about how GPT models are trained and work we recommend watching [Andrej Karpathy's talk from Build 2023 on the state of GPT](https://www.youtube.com/watch?v=bZQun8Y4L2A).
9782
83+
- question: |
84+
How can I get the model to respond in a specific language?
85+
answer: |
86+
Ensure that your prompt is clear and specific about the language requirement. If the issue persists, consider adding more context or rephrasing the prompt to reinforce the language instruction.
87+
88+
Example prompts:
89+
* "Please respond in English and only in English."
90+
* "Answer the following question in English: What is the weather like in Fresno?"
91+
9892
- question: |
9993
I asked the model when its knowledge cutoff is and it gave me a different answer than what is on the Azure OpenAI model's page. Why does this happen?
10094
answer:
@@ -121,7 +115,7 @@ sections:
121115
We noticed charges associated with API calls that failed to complete with status code 400. Why are failed API calls generating a charge?
122116
answer:
123117
If the service performs processing, you will be charged even if the status code is not successful (not 200).
124-
Common examples of this are, a 400 error due to a content filter or input limit, or a 408 error due to a timeout. Charges will also occur when a `status 200` is received with a `finish_reason` of `content_filter`.
118+
Common examples of this are, a 400 error due to a content filter or input limit, or a 408 error due to a time-out. Charges will also occur when a `status 200` is received with a `finish_reason` of `content_filter`.
125119
In this case the prompt did not have any issues, but the completion generated by the model was detected to violate the content filtering rules, which result in the completion being filtered.
126120
127121
If the service doesn't perform processing, you won't be charged.
@@ -132,7 +126,23 @@ sections:
132126
How do I get access to Azure OpenAI?
133127
answer: |
134128
A Limited Access registration form is not required to access most Azure OpenAI models. Learn more on the [Azure OpenAI Limited Access page](/legal/cognitive-services/openai/limited-access?context=/azure/ai-services/openai/context/context).
135-
129+
- question: |
130+
My guest account has been given access to an Azure OpenAI resource, but I'm unable to access that resource in the Azure AI Foundry portal. How do I enable access?
131+
answer: |
132+
This is expected behavior when using the default sign-in experience for the [Azure AI Foundry](https://ai.azure.com).
133+
134+
To access Azure AI Foundry from a guest account that has been granted access to an Azure OpenAI resource:
135+
136+
1. Open a private browser session and then navigate to [https://ai.azure.com](https://ai.azure.com).
137+
2. Rather than immediately entering your guest account credentials instead select `Sign-in options`
138+
3. Now select **Sign in to an organization**
139+
4. Enter the domain name of the organization that granted your guest account access to the Azure OpenAI resource.
140+
5. Now sign-in with your guest account credentials.
141+
142+
You should now be able to access the resource via the Azure AI Foundry portal.
143+
144+
Alternatively if you're signed into the [Azure portal](https://portal.azure.com) from the Azure OpenAI resource's Overview pane you can select **Go to Azure AI Foundry** to automatically sign in with the appropriate organizational context.
145+
136146
- name: Learning more and where to ask questions
137147
questions:
138148
- question: |

0 commit comments

Comments
 (0)