V
e
r

l
i
s
t
a
d
o

tractatus@lapipaplena:/# _

 

shell-genie

Dota la consola de Inteligencia Artificial centrada en responder únicamente preguntas sobre el sistema operativo GNU/Linux y sus comandos. Instalar y configurar:

$ python3 -m venv .venv
crear un entorno virtual en tu ubicación
$ source .venv/bin/activate
activar entorno virtua
$ pipx install shell-genie
instalar
$ shell-genie init
inicializar la herramienta

Produce varias preguntas:

Select backend: [openai-gpt-3.5-turbo/free-genie]: free-genie

Note that this server will store the requested command, OS, and shell version to improve the model. Also, I cannot guarantee that the server will be up and running 24/7.

Do you want to continue? [y/n]:

Do you want to continue? [y/n]:

Do you want to provide feedback about the generated commands to improve the models? [y/n]:

Is your OS Debian GNU/Linux 12 (bookworm)? [y/n]:

The following configuration will be saved:

{'backend': 'free-genie', 'os': 'Linux', 'os_fullname': 'Debian GNU/Linux 12 (bookworm)', 'shell': 'bash', 'training-feedback': True}

Nota.- Si elegimos la opción “openai-gpt3” tendremos que hacernos una cuenta en su página y recuperar la llave API para proporcionarla. Eligiendo la opción “free-genie” podemos disfrutar de la forma gratuita y participar o no a mejorar la herramienta.

$ shell-genie ask "la pregunta que hacemos"
Para preguntar
Navegando por staredsi.eu aceptas las cookies que utilizamos en esta web. Más información: Ver política de cookies
[0] 0:bash*
2673 entradas - Acerca del Tractatus
La Pipa Plena 2024