Giter Site home page Giter Site logo

ltopx / le-ai Goto Github PK

View Code? Open in Web Editor NEW
153.0 3.0 36.0 7.05 MB

Le-AI, Your open-source AI Assistant Hub, helping you boost efficiency UP~

Home Page: https://le-ai.app

License: GNU General Public License v3.0

TypeScript 99.36% JavaScript 0.25% CSS 0.37% Dockerfile 0.03%
gpt-35-turbo nextjs tailwindcss azureopenai chat-gpt ai azure claude gpt-4

le-ai's Introduction

English | 中文

Le-AI

Le-AI

Your open-source AI Assistant Hub, helping you boost efficiency UP UP~

GitHub release GitHub last commit twitter telegram

Deploy with Vercel

cover

✨ Demo

Direct access: https://le-ai.app

Project documentation: https://docs.le-ai.app

🎯 Key Features

  • No need to configure additional environment variables, can be easily deployed to Vercel for free
  • Ensures privacy and security, all session records and system configurations are stored locally in the browser
  • Responsive design with dark mode, providing a great experience on different devices
  • Supports voice reading with customizable voices and speeds
  • Supports displaying markdown with code highlighting and copy operations
  • Supports OpenAI and Azure OpenAI
  • Supports custom role templates to create more AI possibilities
  • Supports i18n multilingual internationalization: English, Simplified Chinese
  • Support Docker deployment
  • For more information, please refer to the documentation

📍 Development Plan

  • Support custom prompt repository
  • Support Function call for implementing more functionalities
  • Support for large language model APIs such as Claude, PaLM, and Llama 2
  • Support distributing keys for use in an unauthenticated state
  • Support unlimited sessions
  • Support integration of Midjourney drawing
  • Desktop version development

💿 Deployment

Docker Deployment (Recommended)

docker pull ltopx/le-ai:latest

docker run -d -p 3000:3000 ltopx/le-ai:latest

Docker Local Deployment

docker build -t ltopx/le-ai .

docker run -d -p 3000:3000 ltopx/le-ai

One-click Deployment

Currently supports one-click deployment to Vercel. Deploy with Vercel

🪄 Local Development

0. Node Environment Requirements

NodeJS >= 18

1. Install PNPM

If you have not previously installed or used pnpm, you can install it by running the following command.

npm install pnpm -g

2. Install Dependencies

pnpm i

3. Configure Environment Variables

Rename .evn.local.demo to .env.local

4. Run the Project

pnpm dev

5. Build the Project

pnpm build && pnpm start

More Optional Environment Variables

Refer to the documentation: https://docs.le-ai.app

License

GNU

le-ai's People

Contributors

kanrin avatar peek-a-booo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

le-ai's Issues

License

Great job, I really appreciate your work. Detailed docs and prompts market function impresses me a lot.
I wonder that what the license statement for this repository?
Best Regards

Okta/Auth0 support

How would I add Okta/Auth0 support for authentication? I've tried to modify the current source to attempt to support it however it doesn't work out. Thanks.

Set custom api_base

Besides OpenAI there are some other api-compatible providers.
Also, sometimes it can be necessary to use reverse proxy.

It would be good to be able to customize api_base in settings.

issue of missing metadataBase and env variable

I am trying to build this in local but build failed with issue of missing metadataBase.
when i check change log mentioned that already done in 0.9.0
can you please tell me when it will be available V0.9.0?

Also please provide , what all are minimum environment variable need to run this app in local ?

Issue:
Server Error

TypeError: Invalid URL
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source

src/app/layout.tsx (47:16) @ eval

45 | },
46 | appleWebApp: { capable: true, title: "Le-AI" },

47 | metadataBase: new URL(process.env.NEXT_PUBLIC_METABASE_URL as string),
| ^
48 | openGraph: {

Docker / Installation guide

Hi,

will there be an installation guide for selfhosting a production environment? Perhaps a dockerized system?

Integrate APIpie.ai

Founder here plugging my own product.

I am working on documenting integrations with Opensource Projects I've just tested our API with your app and it works well but its locked down to a restricted list of OpenAI models, APIpie.ai would be a great integration we have a huge range of models from different providers services and have also marked all Chat enhanced models (proper streaming and context memory) with subtype chatx so the models list can be filtered to only provide a list of models optimised for Chat experience, we are openai API compliant and we also update the models list frequently so would require no manual updating for new models if filtering on ChatX, you could further clean the list by removing duplicates if you don't mind what provider is serving the model.

https://apipie.ai/
https://discord.gg/fnVjanuCzB

Environment variable for serper

Hi,

is there an environment variable for serper google search available which I can pass through via docker run? Also it would be great to pre-enable google search by environment variables.

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.