This fullstack application was developed to allow a user (me) to interact with a pdf through various LLMs without having to spin up multiple tabs and determing how to upload the file, then switch between models across these websites.
Instead, a user can upload a pdf and then in a dropdown switch between different AI models from OpenAI, Anthropic, and Mistral, all in one place.
A demo of this can be seen at this link
Typescript
React
Express
PostreSQL
Nodejs
Amazon S3\
In order to run the following env variables are suggested/required:
POSTGRES_USER= <>
POSTGRES_URL= <>
POSTGRES_PASSWORD= <>
POSTGRES_PORT= <>
POSTGRES_DATABASE= <>
API_URL= <>
PORT= <>
CLIENT_URL= <>
NODE_ENV= <>
OPENAI_API_KEY= <>
ANTHROPIC_API_KEY= <>
MISTRAL_API_KEY= <>
JWT_SECRET= <>
S3_ACCESS_KEY= <>
S3_SECRET_KEY= <>
S3_BUCKET= <>
S3_REGION= <>
DOCUMENT_MAX_UPLOADS= <>\