Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.86 KB

File metadata and controls

37 lines (29 loc) · 1.86 KB

Start a conversation with your Photos

This example demonstrates how to create a ChatGPT-style application using the Retrieval Augmented Generation (RAG). It leverages Azure's OpenAI Service to access the ChatGPT model (gpt-3.5-turbo) and employs Azure Cognitive Search Vector Search for data indexing and retrieval.

Features

The chatbot can analyze and comprehend the details of your uploaded images. This enables you to interact with the chatbot as if you were conversing with someone who has viewed the same photos.

Prerequisites

To deploy the application, please ensure that you have the following dependencies installed on your machine.

Installation

CAUTION

  • This repository is still in early development.
  • Your photos are currently stored in a public Azure Blob Storage container. Please do not upload any sensitive data.

Setup procedure

  1. Clone the repository and navigate to the project root
  2. Run azd auth login
  3. Put the photos you want to index in the ./data folder
  4. Run azd up
  5. Make sure to select a region with quota available for both GPT-4-32k & GPT-4-Vision. (e.g. 'switzerlandnorth') as the region.

The current indexing process is suboptimal. During my evaluation, the system could only handle an approximate rate of 300 images hourly.

Future Improvements

  • Improve indexing performance
  • Ability to query based on image metadata (e.g. location)
  • Bot Framework Support (In progress)
  • Reduce Hallucinations / Prompt tweaks