Git Product home page Git Product logo

emilytarot's Introduction

Emily Tarot

Emily Tarot is a techno-mystic project that leverages OpenAI's GPT-3.5-turbo for generating Tarot card readings. This project was designed as an experiment to learn Streamlit and to explore working with large language models for custom applications. Hosted at EmilyTarot.com.

Note: This project currently uses the GPT-3.5-turbo model due to access limitations. However, the results will be more compelling once access to GPT-4 is granted.

Features

  • User Interface: The project uses Streamlit to create a visually engaging and intuitive interface for the users to interact with.
  • Techno-Mystic Experience: Users are guided through a Tarot reading session where they can choose from a virtual deck of Tarot cards or use their own physical deck.
  • AI Interaction: The selected cards and user's questions are processed by OpenAI's GPT-3.5-turbo model to generate a personalized Tarot reading.
  • Session Persistence: The state of the current session is maintained across Streamlit reruns, providing a continuous experience to the user.
  • Moderation: The user's input is checked and moderated for any inappropriate content, terminating the session and displaying crisis resources when user content is flagged
  • Docker Support: A Dockerfile and docker-compose files are included to facilitate the deployment and running of the application.

Usage

To run Emily Tarot locally, follow these steps:

  1. Clone this repository.
  2. Install the dependencies: pip install -r requirements.txt
  3. Set up environment variables SESSION_DIR and OPENAI_SECRET_KEY.
  4. Use cd src && streamlit src/streamlit_app.py to start the Streamlit application.
  5. Navigate to http://localhost:8501 in your web browser to interact with Emily Tarot.

To build and run Emily Tarot with Docker:

  1. docker-compose build
  2. docker-compose up
  3. The application should be available at http://localhost:9999.

License

This project is licensed under the terms of the MIT license.

emilytarot's People

Contributors

msull 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.