bot / README.md
Antoine245's picture
Update README.md
b5a6f7e
|
raw
history blame
1.15 kB
metadata
title: Bot
emoji: 🦀
colorFrom: indigo
colorTo: pink
sdk: gradio
app_file: app.py
pinned: false
license: openrail

Easy Chatbot with PaLM API

  1. go to https://makersuite.google.com/app/home
  2. create your bot in the chat prompt
  3. change app.py file with your own context and examples
  4. add your own palm api key https://makersuite.google.com/app/apikey to your HF environment (cf https://huggingface.co/docs/huggingface_hub/guides/manage-spaces)
  5. ready to use chatbot that can be used as embedded in any websites (cf https://comparateur-image.web.app/bot/)

Errors

  1. clear button (gr.ClearButton needs a fix in embedded websites), I use a basic button until fixed

Use community if any question/request

Please check mkersuite quickstart

Makersuite allows you to change context and examples in order to get the best chatbot and then export the code. You can then try it in gradio by cloning this space and changing context and examples.

Check out https://developers.generativeai.google/tutorials/makersuite_quickstart

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference