File size: 1,149 Bytes
db271d6
 
 
 
 
 
 
b5a6f7e
db271d6
 
 
fdc43e4
58cd87a
 
 
 
e269e5b
 
58cd87a
 
fdc43e4
58cd87a
fdc43e4
58cd87a
fdc43e4
58cd87a
07e60aa
 
 
 
 
 
b0eec24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
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