Code Monkey home page Code Monkey logo

letonghan / genaiexamples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opea-project/genaiexamples

0.0 0.0 0.0 36.26 MB

Generative AI Examples is a collection of GenAI examples such as ChatQnA, Copilot, which illustrate the pipeline capabilities of the Open Platform for Enterprise AI (OPEA) project.

Home Page: https://opea.dev

License: Apache License 2.0

Shell 27.36% JavaScript 4.38% Python 3.92% TypeScript 18.95% CSS 1.61% HTML 1.21% Dockerfile 1.77% Svelte 37.11% SCSS 3.70%

genaiexamples's Introduction

Generative AI Examples

version license


Introduction

GenAIComps-based Generative AI examples offer streamlined deployment, testing, and scalability. All examples are fully compatible with Docker and Kubernetes, supporting a wide range of hardware platforms such as Gaudi, Xeon, and other hardwares.

Architecture

GenAIComps is a service-based tool that includes microservice components such as llm, embedding, reranking, and so on. Using these components, various examples in GenAIExample can be constructed, including ChatQnA, DocSum, etc.

GenAIInfra, part of the OPEA containerization and cloud-native suite, enables quick and efficient deployment of GenAIExamples in the cloud.

GenAIEval measures service performance metrics such as throughput, latency, and accuracy for GenAIExamples. This feature helps users compare performance across various hardware configurations easily.

Getting Started

GenAIExamples offers flexible deployment options that cater to different user needs, enabling efficient use and deployment in various environments. Here’s a brief overview of the three primary methods: Python startup, Docker Compose, and Kubernetes.

  1. Docker Compose: Check the released docker images in docker image list for detailed information.
  2. Kubernetes: Follow the steps at K8s Install and GMC Install to setup k8s and GenAI environment .

Users can choose the most suitable approach based on ease of setup, scalability needs, and the environment in which they are operating.

Deployment

Use Cases Deployment
Docker Compose Kubernetes
Xeon Gaudi
ChatQnA Xeon Link Gaudi Link K8s Link
CodeGen Xeon Link Gaudi Link K8s Link
CodeTrans Xeon Link Gaudi Link K8s Link
DocSum Xeon Link Gaudi Link K8s Link
SearchQnA Xeon Link Gaudi Link K8s Link
FaqGen Xeon Link Gaudi Link K8s Link
Translation Xeon Link Gaudi Link K8s Link
AudioQnA Xeon Link Gaudi Link Not supported yet
VisualQnA Xeon Link Gaudi Link Not supported yet

Support Examples

Check here for detailed information of supported examples, models, hardwares, etc.

Additional Content

genaiexamples's People

Contributors

chensuyue avatar lvliang-intel avatar wenjiaoyue avatar letonghan avatar daisy-ycguo avatar spycsh avatar dbkinder avatar xuehaosun avatar zhlsunshine avatar zehao-intel avatar tylertitsworth avatar hshen14 avatar dependabot[bot] avatar zepan110 avatar lianhao avatar jaswanth8888 avatar xinyaowa avatar xiguiw avatar louie-tsai avatar ctao456 avatar huiyan2021 avatar yogeshmpandey avatar peteryang12 avatar pre-commit-ci[bot] avatar ckhened avatar dmsuehir avatar liangyx2 avatar wsfowler avatar neozhangjianyu avatar mkbhanda 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.