Coder Social home page Coder Social logo

yangzhu6263736 / dify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from langgenius/dify

1.0 0.0 0.0 3.56 MB

One API for plugins and datasets, one interface for prompt engineering and visual operation, all for creating powerful AI applications.

Home Page: https://dify.ai

License: Other

Shell 0.06% JavaScript 1.07% Python 41.60% PHP 0.18% TypeScript 52.31% CSS 3.44% Mako 0.03% Dockerfile 0.06% SCSS 1.25%

dify's Introduction

English | 简体中文 | 日本語

WebsiteDocsTwitterDiscord

Dify is an easy-to-use LLMOps platform designed to empower more people to create sustainable, AI-native applications. With visual orchestration for various application types, Dify offers out-of-the-box, ready-to-use applications that can also serve as Backend-as-a-Service APIs. Unify your development process with one API for plugins and datasets integration, and streamline your operations using a single interface for prompt engineering, visual analytics, and continuous improvement.

Applications created with Dify include:

Out-of-the-box web sites supporting form mode and chat conversation mode A single API encompassing plugin capabilities, context enhancement, and more, saving you backend coding effort Visual data analysis, log review, and annotation for applications Dify is compatible with Langchain, meaning we'll gradually support multiple LLMs, currently supported:

  • GPT 3 (text-davinci-003)
  • GPT 3.5 Turbo(ChatGPT)
  • GPT-4

Use Cloud Services

Visit Dify.ai

Install the Community Edition

System Requirements

Before installing Dify, make sure your machine meets the following minimum system requirements:

  • CPU >= 1 Core
  • RAM >= 4GB

Quick Start

The easiest way to start the Dify server is to run our docker-compose.yml file. Before running the installation command, make sure that Docker and Docker Compose are installed on your machine:

cd docker
docker-compose up -d

After running, you can access the Dify dashboard in your browser at http://localhost/install and start the initialization installation process.

Configuration

If you need to customize the configuration, please refer to the comments in our docker-compose.yml file and manually set the environment configuration. After making the changes, please run 'docker-compose up -d' again.

Roadmap

Features under development:

  • Datasets, supporting more datasets, e.g. syncing content from Notion or webpages We will support more datasets, including text, webpages, and even Notion content. Users can build AI applications based on their own data sources.
  • Plugins, introducing ChatGPT Plugin-standard plugins for applications, or using Dify-produced plugins We will release plugins complying with ChatGPT standard, or Dify's own plugins to enable more capabilities in applications.
  • Open-source models, e.g. adopting Llama as a model provider or for further fine-tuning We will work with excellent open-source models like Llama, by providing them as model options in our platform, or using them for further fine-tuning.

Q&A

Q: What can I do with Dify?

A: Dify is a simple yet powerful LLM development and operations tool. You can use it to build commercial-grade applications, personal assistants. If you want to develop your own applications, LangDifyGenius can save you backend work in integrating with OpenAI and offer visual operations capabilities, allowing you to continuously improve and train your GPT model.

Q: How do I use Dify to "train" my own model?

A: A valuable application consists of Prompt Engineering, context enhancement, and Fine-tuning. We've created a hybrid programming approach combining Prompts with programming languages (similar to a template engine), making it easy to accomplish long-text embedding or capturing subtitles from a user-input Youtube video - all of which will be submitted as context for LLMs to process. We place great emphasis on application operability, with data generated by users during App usage available for analysis, annotation, and continuous training. Without the right tools, these steps can be time-consuming.

Q: What do I need to prepare if I want to create my own application?

A: We assume you already have an OpenAI API Key; if not, please register for one. If you already have some content that can serve as training context, that's great!

Q: What interface languages are available?

A: English and Chinese are currently supported, and you can contribute language packs to us.

Star History

Star History Chart

Contact Us

If you have any questions, suggestions, or partnership inquiries, feel free to contact us through the following channels:

We're eager to assist you and together create more fun and useful AI applications!

Contributing

To ensure proper review, all code contributions - including those from contributors with direct commit access - must be submitted via pull requests and approved by the core development team prior to being merged.

We welcome all pull requests! If you'd like to help, check out the Contribution Guide for more information on how to get started.

Security

To protect your privacy, please avoid posting security issues on GitHub. Instead, send your questions to [email protected] and we will provide you with a more detailed answer.

Citation

This software uses the following open-source software:

For more information, please refer to the official website or license text of the respective software.

License

This repository is available under the Dify Open Source License.

dify's People

Contributors

ares0x avatar crazywoola avatar eltociear avatar garfieldlucy avatar iamjoel avatar killpanda avatar panmuse avatar takatost avatar yuhao1118 avatar zxhlyh avatar

Stargazers

 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.