Replies: 1 comment
-
Have you looked into teams-ai/getting-started/CONCEPTS/PROMPTS.md Line 104 in ab2130f The following is deprecated code, so it might be out of date, but it's an example of teams-ai/js/samples/04.q.questBot/src/bot.ts Line 139 in e7dcc20 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im trying to use the teams-ai library for a teams bot.
Im stuck trying to get a pretask run before the message is sent to the LLM by the planner.
the flow im looking for the onmessage functionality in bot-sdk.
I am trying to have:
incomming message >> Fetch data from database >> supplement incoming prompt with data >> send to LLM >> return response to user.
I have tried with planner.plan, app.run and nothing is proving to be successful in this scenario. Do you hvae any examples where a function is run to summplement the incoming request from the user before going out to the LLM?
Beta Was this translation helpful? Give feedback.
All reactions