/Saas-Gen-AI

A Saas AI Platform built using Next.js, TypeScript, OpenAI, Langchain, Pinecone and Stripe to provide a platform for generating PDF chat, Text To Speech, Speech To Speech, VOICE CLONE.

Primary LanguageTypeScript

BerryLabs: Revolutionizing document interaction, Document Chat, Convert text to speech and clone voices instantly in any language.

Image1

Features:

1. Document Interaction: - Upload your document then ask everything you wanted.

2. Speech Synthesis: - Unleash the power of our cutting-edge technology to generate realistic, captivating speech in a wide range of languages.

Technologies Used:

  • Next.js: A JavaScript framework for building efficient and powerful web applications.
  • TypeScript: A strongly typed programming language that enhances code quality and scalability.
  • Trpc: "Typescript Remote Procedure Call". It is a way of calling functions on one computer (the server) from another computer (the client). With traditional HTTP/REST APIs, you call a URL and get a response. With RPC, you call a function and get a response.
  • OpenAI: Utilizes OpenAI's models and APIs to embed and generate conversation, images, videos, code, and music.
  • Langchain Framework: Framework for developing applications powered by language models.
  • Pinecone: A vector database to provide long-term memory for high-performance AI applications
  • Clerk: Clerk provides authentication and user management functionalities to ensure a secure and customized user experience.
  • Prisma: Prisma acts as the database toolkit for connecting to and interacting with the application’s data storage.
  • Stripe: Integrates Stripe's secure payment processing system to facilitate subscription-based access to advanced features.

Getting Started: Follow the instructions below to run this application on your local machine:

  1. Prerequisites:
  • Ensure you have Node.js installed.
  1. Installation:
  • Clone this repository to your local machine.
  • Open a terminal and navigate to the project directory.
  • Run npm install to install the required dependencies.
  1. Configuration:
  • Create a .env file in the root directory of the project.
  • Copy and paste all the variables needed from .env.example into .env
  • Login to the listed platform on .env.example to get your env variables
  1. Starting the Application:
  • Run npm run dev in the terminal to start the application in development mode.
  • Open your web browser and navigate to http://localhost:3000 to access the application.

Usage:

  • Upon launching the application, users can sign up for an account or log in if they already have one.
  • Users can upload document (PDF, DOCX, CSV)and chat with it right away
  • Users can browse the different content generation options: Images, Videos, Code, and Music.
  • Select the desired option and follow the prompts to customize and generate the content.
  • Once generated, users can save or export the content in their desired file format.

License: This project is licensed under the MIT license. Feel free to contribute, report issues, or suggest enhancements to make this application even better!

Contact: For any inquiries or feedback, please reach out to the project maintainer at kalibani.ka@gmail.com