https://github.com/gbaeke/azure-assistants-api
https://github.com/gbaeke/azure-assistants-api
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gbaeke/azure-assistants-api
- Owner: gbaeke
- Created: 2024-02-08T16:32:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-17T12:37:34.000Z (about 1 year ago)
- Last Synced: 2025-04-09T19:11:33.787Z (24 days ago)
- Language: Jupyter Notebook
- Size: 324 KB
- Stars: 19
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample code for Azure OpenAI Assistants API
Check out the following blog post: https://blog.baeke.info/2024/02/08/a-look-at-the-azure-openai-assistants-api/
To run this code, put an `env` file in the root of the project with the following content:
```bash
AZURE_OPENAI_API_KEY=YOUR_API_KEY
AZURE_OPENAI_ENDPOINT=https://YOUR_OPENAI_ENDPOINT
AZURE_OPENAI_API_VERSION=2024-02-15-preview
```You will need to install the following packages:
- openai
- python-dotenv
- pillowTo learn more, check out the following resources:
- https://blog.baeke.info/2024/02/08/a-look-at-the-azure-openai-assistants-api/
- https://blog.baeke.info/2024/02/09/using-tools-with-the-azure-openai-assistants-api/
- https://blog.baeke.info/2024/02/10/retrieval-with-the-azure-openai-assistants-api/
- https://blog.baeke.info/2024/02/11/fast-chat-bot-creation-with-the-openai-assistants-api-and-the-microsoft-bot-framework-sdk/Enjoy!