microsoft / teams-ai

SDK focused on building AI based applications and extensions for Microsoft Teams and other Bot Framework channels
MIT License
401 stars 172 forks source link

[Bug]: Assistant functionality doesn't work as expect in the TS version #1807

Closed chenxizhang closed 2 months ago

chenxizhang commented 2 months ago

Language

Javascript/Typescript

Version

latest

Description

I am using Azure OpenAI service, and have set the endpoint in the code, I can run the test successfully in the "Teams test client", and it can answer the basic question, but it will not invoke the "file_search" tool even though I have configured it well and it worked in the python version of the toolkit.

image

Reproduction Steps

1. Create your assistant in Azure OpenAI, and enable "file_search" tool.
2. Create your teams app by the Teams toolkit template, 'Custom Copilot' => 'AI Agent' and complete the configuration in .env
3. Debug it in the "Teams Test client'
corinagum commented 2 months ago

Hi @chenxizhang, this appears to be a duplicate of the feature work for assistants citations. Closing this in favor of the other for tracking.