Samples for upskilling AI knowledge
-
Clone the repo:
git clone git clone https://github.com/marcelloraffaele/upskilling-ai-samples.git cd upskilling-ai-samples
-
Create & activate a virtual environment:
python -m venv .venv # in windows you could need to use 'py' instead of 'python' source .venv/bin/activate # Windows: .venv\Scripts\activate
-
Configure environment
Configure the .env file:
cp .env.local .env
Update
.env
with your OpenAI values:AZURE_OPENAI_API_KEY
: Your OpenAI API keyAZURE_OPENAI_ENDPOINT
: Your OpenAI endpointAZURE_OPENAI_CHAT_DEPLOYMENT_NAME
: Your OpenAI chat deployment name
Note: The model specified in
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME
must be supported by Azure AI Agents Service or Assistants API. See supported models for details.Configure the settings.json file:
cp settings-template.json settings.json
Update
settings.json
with your OpenAI values. -
Install dependencies:
# Install requirements pip install -r requirements.txt