Welcome to the Azure OpenAI Exploration Repository! This repository is designed to help you dive into the fascinating world of Azure OpenAI. Whether you’re a seasoned developer or just starting out, these Jupyter notebooks will guide you through various aspects of OpenAI’s capabilities.
- Introduction
- Getting Started
- Notebooks Overview
- Environment Setup
- Running the Demos
- Contributing
- License
Azure OpenAI offers powerful tools and APIs for natural language processing, code generation, and multimodal tasks. In this repository, we’ll cover the following topics:
- Chat Completion API: Explore how to interact with OpenAI’s chat models.
- Prompting Techniques: Learn effective ways to prompt the models.
- Model Configuration Parameters: Understand how to fine-tune and optimize your models.
- Assistant API: Discover code interpretation and function calling capabilities.
- Multimodal GPT-4-Turbo with Vision: Combine text and images for exciting applications.
Before diving into the notebooks, make sure you have the following prerequisites:
- Visual Studio Code (VS Code): Install VS Code, as we’ll be using it for editing and running the notebooks.
- Python Extension: Ensure you have the Python extension installed in VS Code.
- Anaconda: If you haven’t already, install Anaconda on your local machine .
This repository contains 11 Jupyter notebooks, each focusing on a specific topic. Here’s a brief overview:
- OpenAI_getting_started.ipynb
- ChatCompletion_api.ipynb
- code_generation.ipynb
- tokens_and_usage.ipynb
- OpenAI_parameters.ipynb
- best_practice.ipynb
- prompt_engineering.ipynb
- LLM_RAG_demo.ipynb
- Function_Calling.ipynb
- GPT-4V.ipynb
- Assitant.ipynb**
- Create a Conda environment named
aoai101
:
conda create --name aoai101 python=3.12.0
- Activate the environment:
conda activate aoai101
- Install required Python packages from
requirements.txt
:
pip install -r requirements.txt
- Set environment variables (if needed) for API keys and other configurations.
Navigate to the demo
folder and execute the notebooks in order. Each notebook builds upon the previous one, so follow the sequence.
Found a bug? Want to add a new feature? Contributions are welcome! Fork this repository, make your changes, and submit a pull request.
This repository is licensed under the MIT License. Feel free to use, modify, and share the code.
Happy exploring! 🚀🔍🌟