Coder Social home page Coder Social logo

kth-group4-dm2586's Introduction

Kth-Group4-DM2586

Result_step2 As a part of a course in Generative AI and Media and interactive design in KTH, we have developed this Multimodal RAG applicaation.

The total architecture of the Application

MM-RAG Arch

Data

Some of the sample data are there in data/images folder, you can use your own data for this application.

Weaviate database

you need to install weaviate database in your local machine using docker and the docker-compose.yml file. for more info: https://weaviate.io/developers/weaviate/installation/docker-compose

Adding Data in the database

Make a env in your python, install the requirements.txt, run >python add_data_in_batch.py . As you may have many images, so in the code we are inserting the 200 images at a time and embedd those. It may take time depending on the numbers of images.

Running the application MM-RAG

in the env, run streamlit run app_KTH_Final.py . To generate the description, you need to have Open AI API key. You can have that from: https://platform.openai.com/

Without the Open AI API key the application will work but user can't get the generated description from the vision model. The text and image semantic search will work perfectly.

kth-group4-dm2586's People

Contributors

rickystanley76 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.