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]: use teams-ai for copilot agent #2292

Open
maxime-wegrow opened this issue Feb 4, 2025 · 10 comments
Open

[Dev support]: use teams-ai for copilot agent #2292

maxime-wegrow opened this issue Feb 4, 2025 · 10 comments
Labels
dev support Dev support tracking

Comments

@maxime-wegrow
Copy link

maxime-wegrow commented Feb 4, 2025

Question

In the custom engine agent microsoft documentation ( https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/overview-custom-engine-agent )

Custom engine agents are conversational Teams bots with a custom LLM. They don't require a Microsoft 365 Copilot license to build, debug and deploy. However, custom engine agents are only available to licensed Microsoft 365 Copilot users or users in tenants that allow metered usage of agents.

its seems that teams-ai sdk can be used to create M365 copilot agent that can be used by users with licence

Currently my Teams app is working fine with the teams-ai sdk but its completely broken inside M365 copilot

Image Image

In teams every message end up on /api/messages endpoint but in copilot 365 my api never receive any calls but the developer display a error 500 during a http call

Do the This sdk permit the creation of 365 copilot agent ?

if not why by default once you include teams-ai sdk in our project and upload it the Teams admin center, it is marked as compatible with 365 copilot ?

@maxime-wegrow maxime-wegrow added the dev support Dev support tracking label Feb 4, 2025
@sayali-MSFT
Copy link

@maxime-wegrow ,Thank you for your inquiry! Could you please provide more details about your issue? Specifically, it would be helpful to know:

  1. Reproduction Steps: What steps did you take leading up to the problem?
  2. Documentation Links: Are there any specific guides or documentation you followed?
  3. Code Snippets: If applicable, please share any relevant code snippets.

Providing this information will help us better understand your situation and assist you more effectively.

@maxime-wegrow
Copy link
Author

Hello @sayali-MSFT,

i used the code available in this repo : https://github.com/microsoft/teams-ai/tree/main/js/samples/01.getting-started/a.echoBot

this repo is using the teams-ai sdk

@sayali-MSFT
Copy link

@maxime-wegrow ,Thanks for sharing the information. We will check this and let you know the update

@sayali-MSFT
Copy link

Hello @maxime-wegrow ,We are trying to reproduce the issue but are facing some challenges. We are checking with the internal team and will update you as soon as possible.

@sayali-MSFT
Copy link

@maxime-wegrow ,
1. Does the Teams-AI SDK permit the creation of 365 Copilot agents?

Yes, the Teams-AI SDK can be used to create M365 Copilot agents. However, there are specific configurations and requirements that need to be met for the agent to function properly in the M365 Copilot environment.

2. Why is it marked as compatible with 365 Copilot by default?

When you include the Teams-AI SDK in your project and upload it to the Teams admin center, it is marked as compatible with 365 Copilot because the SDK is designed to support both Teams and M365 Copilot environments. However, additional configurations might be necessary to ensure full compatibility.

Reference Document-https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/overview-custom-engine-agent

@maxime-wegrow
Copy link
Author

@sayali-MSFT Thanks for the informations

can you pin point me a github repo where i can find a typescript sample ? i found this one : https://github.com/microsoft/teams-ai/tree/aa9332261d4b645602b2f584dc01249a92751936/js/samples

but its confusing, it mix copilot and teams sample, in my use case i want a copilot agent that answer specific prompt with specific data coming from my company llm

in some sample i see the use of messageExtensions for answer copilot prompt but this is weird because messageExtensions are already used in teams for a other purpose

@sayali-MSFT
Copy link

@maxime-wegrow
Copy link
Author

maxime-wegrow commented Feb 10, 2025

@sayali-MSFT look like it, do this sample will work inside m365 copilot ? ( eg : https://m365.cloud.microsoft/chat )

edit: after reading the sample repo, this repo seems that its not using teams-ai sdk

@sayali-MSFT
Copy link

@maxime-wegrow, Thank you for your request. We will check if we have any samples that match your requirements and will update you accordingly.

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