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]: Can't debug individual function calls #2063

Open
stokedout opened this issue Sep 28, 2024 · 2 comments
Open

[Dev support]: Can't debug individual function calls #2063

stokedout opened this issue Sep 28, 2024 · 2 comments
Labels
dev support Dev support tracking

Comments

@stokedout
Copy link

stokedout commented Sep 28, 2024

Please be sure to check the Discussions Q&A section before filing a new question.

Question

How can I debug the function calls made by this sample? If I add breakpoints to the method body of each of the @app.ai.action("...") nothing happens
https://github.com/microsoft/teams-ai/blob/main/python/samples/04.ai.d.chainedActions.listBot/src/bot.py#L74-L123

Code snippets

What you have tried already

I've tried typing only "LightsOn" or "LightsOff" and also enabled debug over more code than just my own following this SO post

Note: please use this template to file your questions regarding implementation. Once your question is answered, our team will move this question to Q&A in Discussions for findability.

@stokedout stokedout added the dev support Dev support tracking label Sep 28, 2024
@stokedout
Copy link
Author

To add a little more context, I want to have two prompts, one for clarifying the user question and a second for generating SQL and fetching data from a database. Perhaps you could advise if this should be tools, sequence or chain etc

@singhk97
Copy link
Collaborator

Can you confirm if the actions are being triggered in the first place?

Also, for best perforamnce use the tools augmentation. See Function Calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev support Dev support tracking
Projects
None yet
Development

No branches or pull requests

2 participants