Giter Site home page Giter Site logo

noorai's Introduction

NoorAI

Powered by OpenAI, Nextjs, Mantine

Setup

npm i ## yarn install, pnpm i

Enviroment variables

  • OPENAI_API_KEY: Get it from here URL

For authentication you need one of them Google or GitHub

  • GOOGLE_CLIENT_ID: URL
  • GOOGLE_CLIENT_SECRET
  • GITHUB_ID: URL
  • GITHUB_SECRET

The easiest way to get DB url is create a project in Supabase and get it from project settings.

  • DATABASE_URL:

  • NEXTAUTH_URL: "http://localhost:3000"

  • NEXTAUTH_SECRET: run this command in your terminal openssl rand -base64 32 and copy the string and past it into .env file

noorai's People

Contributors

ali-hussein-dev avatar alshareef49 avatar

Stargazers

 avatar Vikas Sahu avatar  avatar  avatar Nathan Lloyd Ward avatar Ministerin Marin avatar Takashi Futada avatar

noorai's Issues

Prisma Error

When searching for tags
prisma:error
Invalid prisma.whatsnew.findMany() invocation:

Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42P05), message: "prepared statement "s13" already exists", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("prepare.c"), line: Some(412), routine: Some("StorePreparedStatement") }) }), transient: false })
prisma:error
Invalid prisma.prompt.findMany() invocation:

Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42P05), message: "prepared statement "s12" already exists", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("prepare.c"), line: Some(412), routine: Some("StorePreparedStatement") }) }), transient: false })

License?

What is the license for this source code?

notes taker

Allow users to take notes per thread.
Use cases: for users who use chatgpt for studying and summarizing.

UI: left sidebar

Highlighter

Allow users to highlight ai outputs.
use cases for user who study and summarize info.

Add usage limit

monthly limit of 50 requests
notify users when they reach 45 req
disable requests until they upgrade or a new month starts
limit logic client-side
limit logic server side with Redis.

chat with your data

Techs

  1. Langchain
  2. Vectorstore: Pinecone or Weaviate
  3. Supabase: for storing files

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.