Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.15 KB

File metadata and controls

25 lines (14 loc) · 1.15 KB

AI API Harvard Demo

This script demonstrates how to configure and test Harvard's OpenAI API integrations to ensure your API keys are set up correctly.

Harvard OpenAI API Services

1. OpenAI API for Community Developers

2. OpenAI API for Course Use

Setup

This project uses uv for dependency management, though it is optional.

To install dependencies without uv, use pip install -r requirements.txt.

Configuration

In .env, set your OpenAI API key and choose your endpoint based on which Harvard API service you have access to. Use the .env.sample as a guide.