Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev support]: How to start a new turn with previous user message in the onUserSignInSuccess sign-in success callback #11728

Open
ChetanSharma-msft opened this issue Oct 25, 2024 · 3 comments
Assignees
Labels
teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@ChetanSharma-msft
Copy link
Collaborator

ChetanSharma-msft commented Oct 25, 2024

Copied from: microsoft/teams-ai#2091

Details:

Steps to reproduce

Is there a way to start a new turn with previous user message in the onUserSignInSuccess sign-in success callback?

I know how to get the message through the context.activity.text but I don't know what to do with it.

Thanks a lot

Expected behavior

NA

Actual behavior

NA

Error details

No response

@ChetanSharma-msft ChetanSharma-msft added the teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label label Oct 25, 2024
@Prasad-MSFT Prasad-MSFT self-assigned this Oct 25, 2024
@Prasad-MSFT
Copy link
Collaborator

Hi @Benjiiim, could you please provide a little more context on your issue? What exact functionality you want to implement?

@Benjiiim
Copy link
Contributor

Sure. Thanks for your involvment.

I'm using Teams AI Library in JavaScript and I have configured user authentication as documented on User Auth.
I have registered to the onUserSignInSuccess handler in order to handle the event raised when the user has signed in successfully.
I know that I can use context.activity.text to get the message sent by the user before the AuthFlow started but I'm looking for a way to continue the turn execution or to start a new turn from this text instead of just displaying it to the user and stop the current turn.
Indeed, after the signIn flow, the message sent by the user might trigger a specific activity or should be passed to the AI Module/LLM as described on Overview instead of being only displayed to the user as it is done in the documentation and in the various auth samples I've seen so far.

Thanks again.

@Prasad-MSFT
Copy link
Collaborator

After discussing internally, we recommend you give your feedback in Teams Feedback Portal to achieve your requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

4 participants