Giter Club home page Giter Club logo

cognite's Introduction

Cognite 🔥

The open-source alternative to OpenAI's GPT Store built w/ Next.js and LangChain.js

👇 Screenshots

Homepage Chat Create

🤔 What is it?

It's a fast and simple way to share and create chatbots with external knowledge such as a website or a document. This can be helpful for things like creating bots for knowing specific things, such as a research paper, a book, etc.

🥖 How do I use it?

  • To find chatbots just start typing on the search bar on the homepage and find what you need
  • To create a chatbot, head to the create page. Put in a name and give it some knowledge (website or PDF as of right now)

🌎 How does it work?

🦜 LangChain.js for the AI backend such as the embeddings and chat
Next Next.js as the full-stack framework
Prisma Prisma to interact with the database in an easier way
Tailwind shadcn-ui + TailwindCSS as the UI framework and CSS

Embeddings: It uses sentence-transformers/all-MiniLM-L6-v2 to create embeddings for the knowledge provided.
LLM: It currently uses mistralai/Mixtral-8x7B-Instruct-v0.1, but you can use whatever LangChain currently supports

🏡 Run Locally

  1. Clone the repo git clone https://github.com/AyaanZaveri/cognite && cd cognite
  2. Install bun (if not installed already) npm install -g bun
  3. Run bun i to install packages
  4. Edit the env variables, if you want to use different models, check out LangChain's supported list
  5. Run bun dev to run the code
  6. Start tinkering 🚀!

License

Licensed under the AGPL v3 license.

cognite's People

Contributors

ayaanzaveri avatar aytozuno21 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.