Skip to main content

A Python package for generating draft application letters using generative AI

Project description

Easy Letters

Tests License: MIT PyPI version Downloads

Easy Letters is a Python package that helps job seekers write application letters. A simple retrieval augmented generation (RAG) pipeline is used to generate the letters. The user can then edit the draft letter to suit their needs.

See the notebooks/README.md file for how easy letters works.

Installation

You can install Easy Letters using pip:

pip install easy-letters

Getting Started

API Key Setup

At the moment, Easy Letters gets the API key for supported services from the environment variables. So you need to set the following environment variables to be able to use Easy Letters:

  • OPENAI_API_KEY: The OpenAI API key (required)

Sample Notebooks

You can find Jupyter notebooks with example code in the notebooks directory. The notebooks demonstrate how to use Easy Letters to generate application letter drafts.

Supported Models

Easy Letters currently supports the following models:

Model Type
GPT-3.5 Turbo Text Generation
GPT-4 Turbo Text Generation
GPT-4o Text Generation
GPT-4o Mini Text Generation
Text Embedding 3 (Small Variant) Text Embedding
Text Embedding 3 (Large Variant) Text Embedding

Installing from Source

You can also install Easy Letters from the source code in this repository. The main benefit of this approach is that you might find it easier to run the sample notebooks and modify the code as you wish this way.

After cloning this repository, you can navigate to the easy-letters directory and install the dependencies using Poetry:

git clone https://github.com/habedi/easy-letters.git && cd easy-letters

# Assuming you have Poetry installed on your system
poetry install --with dev

TODO

  • Add support for Anthropic models and API
  • Add support for locally served models via Ollama

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy_letters-0.1.8.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

easy_letters-0.1.8-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file easy_letters-0.1.8.tar.gz.

File metadata

  • Download URL: easy_letters-0.1.8.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1023-azure

File hashes

Hashes for easy_letters-0.1.8.tar.gz
Algorithm Hash digest
SHA256 a3ebfe9e65decec3c17dcb26aa2be0f2867271507052158d89cdf9bfa95495ec
MD5 9daf1e6244ad172dddada15977ccdd89
BLAKE2b-256 e39029fda9da8cbeb854c57727133f1a1ee30901f4c64cb82043e87d8a57c3a6

See more details on using hashes here.

File details

Details for the file easy_letters-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: easy_letters-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1023-azure

File hashes

Hashes for easy_letters-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b5829a6bf9b8da00ed16c45f680ed4986ae9f741373189d48c4b3500752689dd
MD5 9cb15df4c36c58a188f3577dc9a1bfc7
BLAKE2b-256 1a5d69ab5f41ab409813fe8f8eefbe85c0b2a5622c0697833ccc826d26e95c19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page