Hello @Rajeesh M R - You can use Teams AI library to integrate Open AI related capability to your Teams application.
Reference doc: https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/teams%20conversational%20ai/teams-conversation-ai-overview
You can refer existing sample from this repo https://github.com/microsoft/teams-ai