Giter Site home page Giter Site logo

elia's Introduction

Elia

A terminal ChatGPT client built with Textual

img.png

Note Elia is still a work in progress. How far will I go with this? I have no idea...

Quickstart

Install Elia with pipx, set your OpenAI API key environment variable, and start the app:

pipx install git+https://github.com/darrenburns/elia
export OPENAI_API_KEY="xxxxxxxxxxxxxx"
elia

Wiping the Chat History

Chat history is stored in a SQLite database alongside the Elia application. To wipe the chat history, simply run the db reset command:

elia reset

Changing the Chat Directive

By default, Elia's conversations with ChatGPT are primed with a directive for the GPT model:

You are a helpful assistant.

This can be changed by setting the ELIA_DIRECTIVE environment variable before starting a new conversation. A directive is set for the lifetime of a conversation.

export ELIA_DIRECTIVE="You are a helpful assistant who talks like a pirate."
elia

Launching Directly into a Conversation

elia chat write python code to detect a palindrome

Progress updates

June 2023

Messages are now tokenized and you can see how messages are split into tokens using the "Message Details" modal.

image

May 29th 2023

SQLite/SQLModel chosen for persistence. Conversations can be imported from ChatGPT and they'll be displayed in the sidebar. Selecting a conversation in the sidebar will load it into the main window. Raw markdown can be displayed.

elia-demo-importchatgpt-29may23.mov

May 24th 2023

Much of the core UI is in place, with some placeholders. No persistence yet, but I've begun to explore it.

elia-demo-2.mov

May 4th 2023

Initial proof of concept.

gpt-textual.mov

elia's People

Contributors

darrenburns avatar juftin avatar tomjgooding avatar barabum0 avatar

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.