Best of both #1616
Unanswered
teledactyl
asked this question in
Q&A
Best of both
#1616
Replies: 2 comments 4 replies
-
As per live discussion, additional samples to consider for encoding additional docs/information https://github.com/microsoft/teams-ai/tree/main/js/samples/04.ai-apps/h.datasource-azureOpenAI |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hi @teledactyl, you can also try adding a few examples of user/model interaction within the prompt. This technique is called few-shot prompting, and it's really effective in guiding the model to return responses in a specific format. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've developed a nice Bot using 'sequence' augmentation that can automate several things for me in my stage-view app within Teams.
![image](https://private-user-images.githubusercontent.com/130683546/328473455-30e8c06d-7dc1-4fff-86bb-b34cf89fa95c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyMDMzODYsIm5iZiI6MTcyMDIwMzA4NiwicGF0aCI6Ii8xMzA2ODM1NDYvMzI4NDczNDU1LTMwZThjMDZkLTdkYzEtNGZmZi04NmJiLWIzNGNmODlmYTk1Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNVQxODExMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYmQyYzc2ZDg1ODBiYjdmODY0MmU4MmVhNTFlMzRmMzQ0MjViYWMwY2Y2OTM4ZjM3ZTQyMGFlZDhkZTgyNGY3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.NvZBoCg4So7f-1pWBrEITY22d576HXr1u9qfnyi6h6c)
I also want it to act as an experienced engineer so it can begin to give advice, so I've used Vectra to encode a few documents on a fairly narrow engineering discipline. When using 'none' as augmentation, I get some good, detailed, results.
But, when switching back to 'sequence', the advice becomes quite terse.
In VS code's terminal I can see that the prompt is picking up similar content, but the results are consistently different.
How can we get the best of both worlds?
Beta Was this translation helpful? Give feedback.
All reactions