GithubHelp home page GithubHelp logo

willeswa / somadocs Goto Github PK

View Code? Open in Web Editor NEW
51.0 3.0 13.0 168 KB

a nextjs app to implement reading documents using openai (embeddings and chat model), pinecone for vectors store and langchain.

TypeScript 95.97% JavaScript 3.88% CSS 0.15%

somadocs's Introduction

Project Name

The project is a NextJS (with TypeScript) app that uses Langchain, OpenAI, and Pinecone to help users read their documents.

Features

  • Authentication: Support for authentication via Firebase.
  • S3 Storage: Support for S3 storage for uploaded files. Currently, files are uploaded to the public folder.
  • Multiple PDF per User: Support for multiple PDF files per user.
  • Dynamic character selection - it would be nice to change characters depending on the type of document the user is reading.

Upcoming Features

  • Authentication: Support for authentication via Firebase.
  • S3 Storage: Support for S3 storage for uploaded files.
  • Multiple PDF per User: Support for multiple PDF files per user.

Getting Started

To run the project locally, you'll need to create a .env.local file and populate it with the necessary configuration keys. You can use the .sample.env.local file as a template.

cp .sample.env.local .env.local

Then, open the .env.local file and fill in the required configuration keys.

Installation

To install the project dependencies, run the following commands:

npm install

Running the App

To run the app, run the following command:

npm run dev

This will start the app on http://localhost:3000/.

Contributing

Contributions are welcome! Please submit a pull request if you have any improvements or bug fixes to suggest.

somadocs's People

Contributors

willeswa 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

Watchers

 avatar  avatar  avatar

somadocs's Issues

I am getting an error.

Can you pls recommend the solution? Thanks


Unhandled Runtime Error

AxiosError: Request failed with status code 500
Call Stack
AxiosError
node_modules/axios/lib/core/AxiosError.js (22:0)
settle
node_modules/axios/lib/core/settle.js (19:0)
onloadend
node_modules/axios/lib/adapters/xhr.js (103:12)

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.