Starting last week (May 12), OpenAI https://help.openai.com/en/articles/6825453-chatgpt-release-notes#h_9894d7b0a4 the plugins for ChatGPT plus users. This means that we can not only use the plugins from their store but also create our own plugins. In this article, we will go through the process of creating a plugin for ChatGPT using Laravel. The plugin will be a very simple web browser that will fetch the HTML content of a given URL, but this concept can be applied to any other use case.

mkdir resources/.well-known touch resources/.well-known/ai-plugin.json {"schema_version": "v1", "name_for_human": "My Local Web Browser Plugin", "name_for_model": "MyLocalWebBrowser", "description_for_human": "Plugin for browsing the web locally in the name of ChatGPT.", "description_for_model": "Plugin for browsing websites locally and getting their content.", "auth": {"type": "none"}, "api": {"type": "openapi", "url": "http://localhost:8000/openapi.yaml", "is_user_authenticated": false }, "logo_url": "http://localhost:8000/logo.png", "contact_email": "support@example.com", "legal_info_url": "http://www.example.com/legal"}
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners