Skip to content

tech-and-avinash/llamaindex-azure-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LlamaIndex Azure OpenAI - Proof of Concept

Introduction

This repository provides a Proof of Concept (POC) for integrating LlamaIndex with Azure OpenAI services.

Prerequisites

  • Python 3.12.3

Setup Instructions

  1. Check Python Version

    Ensure you have Python 3.12.3 installed:

    python --version
  2. Create a Virtual Environment

    Create a virtual environment to manage dependencies:

    virtualenv venv
  3. Activate the Virtual Environment

    Activate the virtual environment:

    source venv/bin/activate
  4. Install Required Packages

    Install the required packages from requirements.txt:

    pip install -r requirements.txt
  5. Run the Application

    Run the main application script:

    uvicorn app.main:app --reload
  6. Freeze Dependencies

    Freeze the current state of dependencies to requirements.txt:

    pip freeze > requirements.txt
  7. Run Backend

    uvicorn app.main:app 
  8. Streamlit frontend

    streamlit run frontend/app.py 

Screenshot

Here is a screenshot of the application in action:

Screenshot

Reference

For more information on how to use LlamaIndex with Azure OpenAI, please refer to the LlamaIndex documentation.

Additional Information

  • Make sure to customize main.py as per your POC requirements.
  • Update requirements.txt as necessary when adding or updating dependencies.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages