alfaradito / AOAI101

Hackaton Azure OpenAI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure OpenAI Exploration Repository

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.

Table of Contents

  1. Introduction
  2. Getting Started
  3. Notebooks Overview
  4. Environment Setup
  5. Running the Demos
  6. Contributing
  7. License

Introduction

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.

Getting Started

Before diving into the notebooks, make sure you have the following prerequisites:

  1. Visual Studio Code (VS Code): Install VS Code, as we’ll be using it for editing and running the notebooks.
  2. Python Extension: Ensure you have the Python extension installed in VS Code.
  3. Anaconda: If you haven’t already, install Anaconda on your local machine .

Notebooks Overview

This repository contains 11 Jupyter notebooks, each focusing on a specific topic. Here’s a brief overview:

  1. OpenAI_getting_started.ipynb
  2. ChatCompletion_api.ipynb
  3. code_generation.ipynb
  4. tokens_and_usage.ipynb
  5. OpenAI_parameters.ipynb
  6. best_practice.ipynb
  7. prompt_engineering.ipynb
  8. LLM_RAG_demo.ipynb
  9. Function_Calling.ipynb
  10. GPT-4V.ipynb
  11. Assitant.ipynb**

Environment Setup

  1. Create a Conda environment named aoai101:

conda create --name aoai101 python=3.12.0

  1. Activate the environment:

conda activate aoai101

  1. Install required Python packages from requirements.txt:

pip install -r requirements.txt

  1. Set environment variables (if needed) for API keys and other configurations.

Running the Demos

Navigate to the demo folder and execute the notebooks in order. Each notebook builds upon the previous one, so follow the sequence.

Contributing

Found a bug? Want to add a new feature? Contributions are welcome! Fork this repository, make your changes, and submit a pull request.

License

This repository is licensed under the MIT License. Feel free to use, modify, and share the code.

Happy exploring! 🚀🔍🌟

About

Hackaton Azure OpenAI

License:MIT License


Languages

Language:Jupyter Notebook 100.0%