Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenAI ChatGPT documentation #233

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions docs/integrations/openai.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
id: openai
title: Using ChatGPT to control your connected home
sidebar_label: ChatGPT
---

OpenAI definitely revolutionized the world of artificial intelligence when it launched ChatGPT last year.

What if you could use ChatGPT to control your connected home?

We wouldn't be far from having our very own Jarvis at home, just a quick message away!

## Prerequisites

As the OpenAI API is not free, this integration is part of Gladys Plus. Start by creating your account to get access to ChatGPT 🙂

## Configuration

It's very simple, just activate ChatGPT in the OpenAI ChatGPT integration in "Integrations":

![Activate ChatGPT in Gladys](../../static/img/docs/en/configuration/openai/activate_chatgpt.jpg)

Then you can chat with ChatGPT in the chat tab or via our Telegram integration.

## Available commands

There are currently 7 commands available:

| Action | Example |
| ------------------------- | ------------------------------------------- |
| Show camera in a room | Show me the camera in the living room |
| Turn on the light | Turn on the light in the kitchen |
| Turn off the light | Turn off the light in the kitchen |
| Get temperature in a room | What’s the temperature in the garden ? |
| Get humidity in a room | What’s the humidity level in the bathroom ? |
| Start a scene | Start the “cinema” scene |
| Get useful informations | How do you boil an egg? |
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
id: openai
title: Utiliser ChatGPT pour contrôler sa maison connectée
sidebar_label: ChatGPT
---

OpenAI a définitivement révolutionné le monde de l’intelligence artificielle en lançant ChatGPT l’année dernière.

Et si tu pouvais utiliser ChatGPT pour contrôler ta maison connectée ?

On serait pas loin d’avoir notre Jarvis à la maison, accessible en un petit message !

## Pré-requis

L’API d’OpenAI étant payante, cette intégration fait partie de Gladys Plus. Commence par créer ton compte pour avoir accès à ChatGPT 🙂

## Configuration

C’est tout simple, il suffit d’activer ChatGPT dans l’intégration OpenAI ChatGPT dans “Intégrations” :

![Activer intégration ChatGPT](../../../../../static/img/docs/fr/configuration/openai/activate_chatgpt.jpg)

Ensuite, tu peux discuter avec ChatGPT dans l’onglet discussion ou via notre intégration Telegram.

## Les commandes disponibles

Il y a actuellement 7 commandes disponibles :

| Action | Exemple |
| ------------------------------------- | --------------------------------------------------- |
| Affichage caméra dans une pièce | Montre moi la caméra du salon |
| Allumage de la lumière | Allume la lumière dans la cuisine |
| Eteindre la lumière | Eteins la lumière de la cuisine |
| Récupérer la température | Quelle température fait-il dans le jardin ? |
| Récupérer l’humidité | Quel est le taux d’humidité dans la salle de bain ? |
| Lancer une scène | Lance la scène “Mode cinéma” |
| Récupérer des informations génériques | Qui est Jules Verne ? |
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
"integrations/mqtt",
"integrations/node-red",
"integrations/openweather",
"integrations/openai",
"integrations/owntracks",
"integrations/philips-hue",
"integrations/sonoff",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading