Chatbot / README.md
masoudmarandi's picture
Update README.md
2a79a52 verified

A newer version of the Gradio SDK is available: 4.44.0

Upgrade
metadata
title: Vwctor Database Cloud Chatbot
emoji: 💬
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.41.0
app_file: app.py
pinned: false

Welcome to Vector Database Cloud Chatbot Space

This space hosts a variety of chatbots built using different models. Users can interact with the chatbots and even contribute their own by following the guidelines below.

How to Contribute Your Chatbot

  1. Fork the Repository

    • Fork this repository to your own GitHub account.
  2. Clone Your Fork

    • Clone your fork to your local machine.
  3. Add Your Chatbot

    • Modify the app.py file to integrate your chatbot. Ensure you include the necessary configurations for your model.
  4. Test Your Chatbot

    • Run the application locally and test the functionality of your chatbot.
  5. Submit a Pull Request

    • Push your changes to your fork and submit a pull request for review.
  6. Review Process

    • Your submission will be reviewed and, if accepted, merged into the main repository.

Example Code for Adding a Chatbot

from huggingface_hub import InferenceClient

client = InferenceClient("your-huggingface-model-id")

def respond(message, history, system_message, max_tokens, temperature, top_p):
    # Your chatbot logic here