Skip to content

Latest commit

 

History

History
 
 

chat-insights-openai

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

page_type sample
languages
Python
products
azure
azure-communication-services

Generate chat insights using Azure OpenAI

Prerequisites

Install the packages

pip install openai azure.communication.chat azure.communication.identity

Before running sample code

  1. Open an instance of PowerShell, Windows Terminal, Command Prompt or equivalent and navigate to the directory that you'd like to clone the sample to.
  2. git clone https://github.com/Azure-Samples/communication-services-python-quickstarts.git.
  3. With the Communication Services procured in pre-requisites, add connection string, endpoint, Azure OpenAI key and Azure OpenAI endpoint to chatInsights.py file.

Run Locally

From a console prompt, navigate to the directory containing the chatInsights.py file, then execute the following command to run the app.

python ./chatInsights.py