Git Product home page Git Product logo

vaartaalaap's Introduction

README

Introduction

This is a chatbot application designed to work with large language models (LLMs) servers that behaves like OpenAI's API. The customizable base URL in the settings allows the user to point the application to the desired local server where the LLM is hosted. This setup is beneficial for those who have their own LLM setup or server, enabling direct interaction with the model through a user-friendly interface provided by the chatbot application

Live Link

"https://vaartaalaap.thousandfeeds.com/".

Features

  • Dynamic Base URL: Configure the base URL for the chatbot's backend, supporting different environments like development or production.
  • Customizable Prompts: Modify the default system prompt to tailor the chatbot's behavior.

Usage

  1. Installation: Clone the repository and install dependencies using npm install
  2. Running the App: Start the application with npm start.Open http://localhost:3000 to view it in your browser.
  3. Customization: Use the settings dialog to customize the base URL and default system prompt.

To use the chatbot application on mobile via ngrok or Tailscale, follow these steps:

  1. Set Up the Local Server: First, ensure your chatbot and LLM server is running locally on your computer.

  2. Using Tailscale:

    • Install Tailscale: Download and install Tailscale on both your computer and mobile device.
    • Set up Tailscale: Follow Tailscale's setup instructions to create a secure network.You need to enable HTTPS if you are using this application from a hosted server.
    • Get the URL for the device: Find the URL of your computer on the Tailscale network.
    • Share your local server within your tailnet: First generate SSL certificate using tailscale cert . After that share your server using tailscale serve --bg 1234 (here 1234 is the port).
  3. Configure the Chatbot Application:

    • Update Base URL: In the chatbot application's settings, change the base URL to the ngrok URL or the URL provided by Tailscale.
  4. Access on Mobile:

    • Open the application "https://vaartaalaap.thousandfeeds.com/". To use this application with a local LLM server via ngrok or Tailscale, you need to update the base URL in the application's settings.

    • Navigate to the settings section of the Vaartaalaap application.

    • Replace the current base URL with the URL provided by ngrok (e.g., https://12345.ngrok.io) or the DNS address from Tailscale.

    • After updating the base URL, save your changes to ensure the application connects to your local server.

Now, the application should be configured to communicate with your local LLM server, and you can use it from your mobile device.

Remember, ngrok exposes your local server to the internet, so be cautious about security.

Contribution

Contributions to enhance the application are welcome. Follow standard coding practices and submit pull requests for review.

Remember to check the src directory for detailed code structure and additional components.

vaartaalaap's People

Contributors

paragjnath avatar

Stargazers

 avatar Gil Klein avatar  avatar

Watchers

 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.