https://github.com/youssef-ashraf71/palm-chatbot
PaLMBot App leverages the PaLm API to deliver engaging conversations with an advanced LLM, offering real-time responses and interactive interactions.
https://github.com/youssef-ashraf71/palm-chatbot
chatbot llm palm-api
Last synced: 3 months ago
JSON representation
PaLMBot App leverages the PaLm API to deliver engaging conversations with an advanced LLM, offering real-time responses and interactive interactions.
- Host: GitHub
- URL: https://github.com/youssef-ashraf71/palm-chatbot
- Owner: Youssef-Ashraf71
- License: mit
- Created: 2023-07-16T12:45:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-17T23:55:54.000Z (almost 2 years ago)
- Last Synced: 2025-08-19T16:54:26.018Z (10 months ago)
- Topics: chatbot, llm, palm-api
- Language: JavaScript
- Homepage: https://palm-chat-bot.vercel.app/
- Size: 133 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 PalmBot App
Welcome to the PalmBot App! 🎉 This is a simple chat application built using HTML, CSS, and JavaScript, allowing you to have conversations with a chatbot powered by the [Palm API](https://developers.generativeai.google/). The chatbot responds to your messages by generating customized responses based on the provided prompts.
Please note that this chat app responds to each individual user request, providing prompt-based responses rather than maintaining accumulative context like ChatGPT.
## 💻 Live Demo
[PaLMBot](https://palm-chat-bot.vercel.app/)
## ✨ Features
- 💬 Enter prompts and send them to the chatbot.
- ⚡️ Chatbot generates responses based on your prompts using the Palm API.
- 📝 View the conversation history in the chat window.
- 📋 Copy chatbot responses to the clipboard with ease.
- 🌓 Switch between light mode and dark mode themes to suit your preferences.
## 🚀 Getting Started
To run the chat app locally, follow these simple steps:
1. Clone the repository or download the source code.
2. Open the project directory in your code editor.
3. Launch a live server to serve the files. You can use tools like Visual Studio Code's [Live Server extension](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) or any other web server of your choice.
4. Access the chat app through the provided local server URL.
```
http://localhost:3000
```
## 💡 Usage
1. 👉 Type your message in the chat input box.
2. ⏰ Press Enter or click the send button to send your message.
3. 💬 The chatbot will generate a response based on your message and display it in the chat window.
4. 📋 You can copy the chatbot's response to the clipboard by clicking the "content_copy" button next to the response.
5. 🌗 You can switch between light mode and dark mode themes by clicking the "light_mode" or "dark_mode" button.
## ⚙️ Configuration
To configure the API key for the chat app, replace the `API_KEY` constant in the `palmbot.js` file with your valid Palm API key.
```javascript
const API_KEY = "YOUR_API_KEY";
```
Please ensure that you have a valid API key from the Palm API provider.
You can get yours from [PaLM API](https://developers.generativeai.google/)
## 🚧 Limitations
- The chat app only responds to individual user requests and doesn't maintain context or provide accumulative responses like ChatGPT.
- The chatbot's functionality relies on the Palm API. Any issues or limitations with the API may affect the chatbot's performance and responsiveness.
## 📄 License
This project is licensed under the [MIT License](LICENSE.txt).
## 🙏 Acknowledgements
- The chat app was built using HTML, CSS, and JavaScript.
- The design and styling of the chat app were inspired by various chat interfaces and UI patterns.
## 🆘 Troubleshooting
If you encounter any issues or have questions about the chat app, please feel free to reach out