8000 GitHub - kpodjison/larabot: A powerful Laravel-based AI bot built using HuggingFace API and advanced prompt engineering techniques. This project demonstrates how to integrate pre-trained language models to process user inputs, generate structured responses, and handle conversational tasks.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A powerful Laravel-based AI bot built using HuggingFace API and advanced prompt engineering techniques. This project demonstrates how to integrate pre-trained language models to process user inputs, generate structured responses, and handle conversational tasks.

Notifications You must be signed in to change notification settings

kpodjison/larabot

Repository files navigation

Larabot

A powerful Laravel-based AI bot built using HuggingFace API and advanced prompt engineering techniques. This project demonstrates how to integrate pre-trained language models to process user inputs, generate structured responses, and handle conversational tasks. Perfect for building order processing bots, customer service assistants, form autofills and more.

Technologies Used

  • Laravel 12
  • HuggingFace Inference API
  • GuzzleHTTP (For API request)

💡: Hugging Face API-Inference DOCS

💡: Supported Models

Installation

  1. Clone the repository

    https://github.com/kpodjison/larabot.git
    cd larabot
    
  2. Install dependencies

    composer install
    
  3. Set up the environment
    copy .env.example file and rename it to .env update HUGGING_FACE_API_KEY key in env with your Hugging Face API key

  4. Start backend server

    php artisan serve
    
  5. Make a post request to the API endpoint api/bot in your API client

    {
    "prompt":"I would like to create a laravel course",
    "userId":"jvc12343"
    }
    
    Example of context-aware conversations
    
        {
            "prompt":"I want to include topics like routes, controllers, and views.",
            "userId":"jvc12343"
        }

About

A powerful Laravel-based AI bot built using HuggingFace API and advanced prompt engineering techniques. This project demonstrates how to integrate pre-trained language models to process user inputs, generate structured responses, and handle conversational tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0