Coder Social home page Coder Social logo

vpgits / sdgp-backend Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.11 MB

This repository contains the backend component of the SDGP project "quizzifyme"

Home Page: https://backend-quizzifyme.venura.dev

License: MIT License

Python 98.49% Dockerfile 1.51%
celery docker fastapi pytorch rabbitmq redis transformers

sdgp-backend's Introduction

sdgp-backend

Welcome to the sdgp-backend repository!

This repository contains the source code related to the Software Development Group Project (SDGP) machine learning component. Specifically, it includes a docker compose file and related github actions related to CI-CD pipeline

Requirements

To run the backend successfully, ensure that your machine meets the following requirements:

  • A VPS with least 2BG RAM , 1 VCPU and least 5Gb of Storage
  • A stable internet connection
  • API keys to supabase, fireworks, runpod

Key-Takeaways

  • You have to download gte/small[link:https://huggingface.co/thenlper/gte-small] and place it inside celery_workers/src/api
  • Manually running without docker will require manually changing the code to configure rabbitmq and redis.

Deployment

  • You can try to replicate the given code and make your own version. You are free to explore and use it as you see fit.
  • Or if you want to deploy this , locally can be done through docker compose. Make the appropriate changes to make docker compose work.
  • If need to be deployed on cloud, setup a reverse proxy and use docker compose for hosting.

sdgp-backend's People

Contributors

vpgits avatar avishadilhara avatar genodqwe avatar

Watchers

Kostas Georgiou avatar  avatar

sdgp-backend's Issues

Create supabase client

Create supabase client.
Add CRUD opereations to include document summary to the documents table

Documentation for the backend

  • Needs documentation for the python backend
  • Have to modify the source code accordingly to use swagger as documentation

serverless lambda function for endpoint generation

The proposed microservice architecture comes with its own issues. Currently the image size for the celery worker is high compared to other images. Invoking the embedding generation might lead to instability. Therefore trying to implement an endpoint to generate embeddings.

migrate from pinecone

  • Pinecone is ending their free tier in April
  • Migrating back to supabase for vector ops

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.