Giter VIP home page Giter VIP logo

ohyeon5 / ppl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 616 KB

A full-stack application that collects relevant information from search APIs (e.g., PubMed), creates index using embedding models (e.g., BERT), and provides a user-friendly interface for users to search and explore the information, then create readable report out of it.

License: Other

Makefile 3.01% Shell 2.10% Dockerfile 3.01% Python 63.95% JavaScript 2.03% HTML 1.36% Svelte 11.53% HCL 8.24% CSS 4.77%

ppl's Introduction

Pharma Pro Link (PPL)

A full-stack application that collects relevant information from search APIs (e.g., PubMed), creates latent embedding vector using embedding models, and provides a user-friendly interface for users to search and explore the information, then create readable report utilizing LLMs.

Project objective

  • Extract expert knowledge and store it in a database.
  • Retrieve expert knowlege efficiently.
  • Generate a reliable summary of the expert knowledge.
  • Generate a readable marketing brochure out of it.
  • Provide a user-friendly interface for users to search and explore the information.

Workflow

workflow

Project Structure

./services
    ./backend
    ./frontend
./tfconfig
./scripts

Installation

Frontend

make env-ui

Backend

make env-api

Services

A full-stack application with frontend and backend services.

Frontend

  • Svelte
  • User interface to get input from users and display search results.

Backend

  • FastAPI + Docker
  • Collects information from search APIs (e.g., PubMed).
  • Creates index using Llama-index and embedding models.
  • RAG (Retrieval Augmented Generation) approach and llms (e.g., Llama2-7B) to generate expert-knowledge include summary.
  • Provides a user-friendly interface for users to search and explore the information.
  • Creates readable report out of it.

Azure infrastructure

  • Azure Static Web Apps
  • Azure App Service
  • Azure MongoDB (vector database)
  • Azure ML studio (Language model and embedding model)
  • Azure Container Registry

azure

Development

Frontend

make run-ui

Backend

make run-api

Error Handling

You might need to set the following environment variable to avoid the error message OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.:

export KMP_DUPLICATE_LIB_OK=TRUE

ppl's People

Contributors

ohyeon5 avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

leegang

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.