Metadata-Version: 2.1
Name: lovecraft
Version: 0.1.0
Summary: Converse with H.P. Lovecraft via Retrieval Augmented Generation.
License: MIT
Keywords: lovecraft,retrieval augmented generation,rag,openai,gpt-4,llm,language model,nlp,natural language processing,ai,artificial intelligence,conversational ai,H.P. Lovecraft,OpenSearch
Author: Russell Jurney
Author-email: russell.jurney@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Framework :: Flake8
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Database
Classifier: Topic :: Database :: Database Engines/Servers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Dist: beautifulsoup4 (>=4.12.3,<5.0.0)
Requires-Dist: bs4 (>=0.0.2,<0.0.3)
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: diskcache (>=5.6.3,<6.0.0)
Requires-Dist: diskcache-stubs (>=5.6.3.4.20240513,<6.0.0.0.0)
Requires-Dist: langchain (>=0.1.11,<0.2.0)
Requires-Dist: langchain-community (>=0.0.27,<0.0.28)
Requires-Dist: langchain-openai (>=0.0.8,<0.0.9)
Requires-Dist: langchainhub (>=0.1.15,<0.2.0)
Requires-Dist: langsmith (>=0.1.23,<0.2.0)
Requires-Dist: lxml (>=5.1.0,<6.0.0)
Requires-Dist: openai (>=1.13.3,<2.0.0)
Requires-Dist: opensearch-py (>=2.4.2,<3.0.0)
Requires-Dist: pillow (>=10.2.0,<11.0.0)
Requires-Dist: pypdf (>=4.1.0,<5.0.0)
Requires-Dist: scrapy (>=2.11.1,<3.0.0)
Requires-Dist: sentence-transformers (>=2.5.1,<3.0.0)
Requires-Dist: streamlit (>=1.31.1,<2.0.0)
Requires-Dist: tenacity (>=8.3.0,<9.0.0)
Requires-Dist: types-beautifulsoup4 (>=4.12.0.20240229,<5.0.0.0)
Requires-Dist: types-tqdm (>=4.66.0.20240106,<5.0.0.0)
Description-Content-Type: text/markdown

# Lovecraft RAG - The Resurrection

This is a project to use generative AI to speak to the ghost of Lovecraft through his letter and stories.

## Setup

### Get Poetry

```bash
curl -sSL https://install.python-poetry.org | python3 -
```

OR

```bash
pipx install poetry
```

### Install Dependencies

```bash
poetry install
```

## Run the Project

1. Get the stories from hplovecraft.com [read them, they're great!]

```bash
scrapy runspider lovecraft/scrape.py
```


