MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.34k forks source link

Under the heading Prime the Output #111169

Closed MSFTTracyP closed 1 year ago

MSFTTracyP commented 1 year ago

What is this part of the document saying? "## One possible search query is:"

Are we telling it to look for keywords or... why do we suddenly have hashtags in the prompt example in this doc?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Naveenommi-MSFT commented 1 year ago

@MSFTTracyP Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT commented 1 year ago

Hi @MSFTTracyP

The section titled "One possible search query is:" is an example of how to use a prompt to prime the model to produce a specific output. The prompt is used to communicate the desired output to the model and can be used to remove hedges that the model might typically add.

The use of hashtags in the prompt example is not related to keyword searching. Instead, it is used to differentiate between different sections of the prompt and to prime the model to produce a specific output.

If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Naveenommi-MSFT commented 1 year ago

@MSFTTracyP We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Please-close

nanddeepn commented 4 months ago

Hi @Naveenommi-MSFT In this case, what could be the prompt to test this scenario? Please guide.

Naveenommi-MSFT commented 4 months ago

Hello @nanddeepn In this case, the example search query is being used to generate a prompt that includes information about a specific topic. The hashtags (#) are being used to indicate keywords or topics that are relevant to the prompt.

For example, if the search query is "climate change", the resulting prompt might include information about the causes and effects of climate change, as well as potential solutions and policy recommendations. The hashtags in the prompt might include #climatechange, #globalwarming, #environment, and so on.

To test this scenario, you could try using a similar search query to generate a prompt and see what kind of results you get. You can experiment with different search queries and hashtags to see how they affect the resulting prompts.