Giter VIP home page Giter VIP logo

chai's Introduction

ChAI

Introduzione

Un'interfaccia testuale per tenere in una finestra di terminale ChatGPT di OpenAI tramite l'API. Vista da

Vantaggi

  • Utilizzo essenziale della API Key di OpenAI, niente frozoli o interfacce web
  • Imposta la chiave API OpenAI in una variabile d'ambiente (OPENAI_API_KEY) o come parametro
  • Importa i messaggi di conversazione da un file json (.json)
  • Imposta il contesto della conversazione da un file di testo (.system) o con il comando system
  • In caso di errori di connessione ai server di openAI dovuti a congestione momentanea del traffico vengono rieseguite le richieste
  • Comando clear per iniziare una nuova chat salvando la precendente conversazione in un JSON
  • Inserire quit per salvare la chat in un JSON e tornare al terminale

Avviso di non responsabilità

  • Non sono responsabile della vostra dipendenza da quello che farete con ChatGPT.
  • Consilgio di non interrogare ChatGPT con informazioni sensibili, riservate, personali, finanziarie e sanitarie.

Utilizzo

Richiede una OpenAI API key

Uso: ch.py [-h] [--key KEY] [--importa IMPORTA]

Chattare con ChatGPT API

options:
  -h, --help         show this help message and exit
  --key KEY          OpenAI API key
  --importa IMPORTA  Importa i messaggi di conversazione da un file json (.json)
  --sistema SISTEMA  Imposta il contesto della conversazione da un file di testo (.system)
  
ChAI un client python per usare ChatGPT a terminale

Installazione

Per installare lo script eseguire i seguenti comandi:

$ git clone https://github.com/r1cc4rd0m4zz4/chAI
$ cd chAI
$ pip install -r requirements.txt

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.