Code Monkey home page Code Monkey logo

viber-palm2-api's Introduction

ViberBot with PaLM2 API Integration in Laravel

Overview

Viberbot integrated with the PaLM2 API from Google AI. The bot is built using PHP Laravel and used Ngrok for secure tunneling during development.

Features

  • Viber Integration: Seamlessly connect with Viber users, allowing them to interact with the bot directly on the Viber platform.

  • PaLM2 API Integration: PaLM2 is a factual language model from Google AI, trained on a massive dataset of text and code. It is the successor to PaLM, and it is one of the most powerful language models in the world. PaLM2 can generate text, translate languages, write different kinds of creative content, and answer your questions in an informative way. It is still under development, but it has learned to perform many kinds of tasks..

  • Ngrok & Laravel for Development: Utilize Ngrok to create a secure tunnel to your local development environment, facilitating testing and debugging and Laravel for backend development.

Getting Started

Prerequisites

  • Install Laravel
  • Set up Viber API credentials
  • Obtain PaLM2 API key
  • Install Ngrok for local development

Installation

  1. Clone the repository: git clone https://github.com/melquidez/Viber-PaLM2-API.git
  2. Install dependencies: composer install
  3. Configure Viber API credentials, PaLM2 API key, and other necessary settings.
  4. Run the development server: php artisan serve
  5. Run your ngrok development server: ngrok http --domain=<YOUR-NGROK-URL> 8000

.env

NGROK_ENDPOINT=<Your-ngrok-endpoint>

VIBER_KEY=<your-viber-apikey>

PALM_API_KEY=<your-palm2-key>
PALM_API_CHAT_ENDPOINT=<chat-endpoint-url>
PALM_API_TEXT_ENDPOINT=<text-endpoint-url>

Usage

  1. Register your bot on Viber platform and configure the necessary settings. Viber Partners
  2. Interact with the bot on the Viber platform.

Contributing

Contributions are welcome! Feel free to explore, contribute, and enhance the capabilities of this ViberBot integrated with PaLM2 API. Happy coding!

viber-palm2-api's People

Contributors

melquidez 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.