Giter Site home page Giter Site logo

0xding / flappy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pleisto/flappy

0.0 0.0 0.0 1.23 MB

Flappy is a library developed to streamline the creation of AI applications and agents that use Large Language Models (LLMs).

License: Apache License 2.0

Rust 3.20% TypeScript 96.80%

flappy's Introduction

Flappy Monorepo

⚠️ This project is still under development. We're working hard to release the first version of Flappy as soon as possible. Stay tuned! Documentation and code examples will be available soon.

English | 简体中文 | 日本語

This monorepo gathers all the Flappy libraries, each implemented in a different programming language. Flappy is a library developed to streamline the creation of AI applications and agents that use Large Language Models (LLMs).

Overview

Flappy is thoughtfully designed to meet the increasing demand for LLM-based AI applications across various sectors. Our goal is to offer a library that manages the inputs and outputs of LLMs, ensuring controlled, consistent, and machine-readable data.

A unique feature of Flappy is its capability to transform abstract classes into JSON Schema schemas. The user can define these classes in their preferred programming language, such as Java, Python, PHP, or TypeScript. These definitions include type and function signatures.

To enhance machine readability and maintain interoperability, Flappy performs AST (Abstract Syntax Tree) parsing on the LLM outputs. This process ensures that the generated JSON data strictly adheres to the defined JSON Schema schema. By integrating the flexibility of programming languages with the standardization of JSON Schema, Flappy propels AI application development to new levels of reliability and efficiency.

Flappy also offers features similar to OpenAI's Code Interpreter. It executes the Python or TypeScript code produced by LLMs in a production-ready secure sandbox. This strategy provides a safe environment for the execution of AI-generated code, minimizing the risk of runtime errors and potential security issues.

Lastly, Flappy provides an abstraction layer for different LLMs, allowing users to easily switch between different LLMs. Users can also designate fallback LLMs to ensure their applications' stability.

Getting Started

To begin with Flappy, select your preferred language implementation from the list below:

  • Node.js
  • Python (coming soon)
  • PHP (coming soon)
  • Java (coming soon)
  • C# (coming soon)
  • Go (coming soon)

Contributing

We're thrilled to receive contributions from the community! For more details, please refer to our contributing guidelines.

License

This project is covered under the Apache License 2.0. Copyright (c) 2023 Pleisto Inc.

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.