Skip to main content

Generate LaTeX formatted food recipes using the ollama library.

Project description

FILTERLESSCOOK

Unique Data Recipes, No Filters Needed!

last-commit repo-top-language repo-language-count


Table of Contents

Overview

FilterlessCook is an innovative open-source Python package that streamlines recipe generation by eliminating the need for prefilters, offering a unique approach to data processing. This projects central module, filterlesscook.py, utilizes the ollama library and an AI assistant model for creating LaTeX-formatted recipes based on user prompts. With a focus on developer productivity, FilterlessCook allows developers to quickly create and save custom LaTeX documents using a single command, operating in an alpha stage under the MIT license. By using the FilterlessCook package, users can efficiently generate personalized food recipes without worrying about complicated setup or licensing issues.


Getting Started

System Requirements:

  • Python: version 3.6+

Installation

To install the FilterlessCook package, follow the instructions below:

pip install filterlesscook

If you want to use a specific version of the "dolphin-mixtral" model please preinstall, otherwise the tool will attempt to pull the newest version if none is already installed.

Usage

To generate food recipes formatted as LaTeX using the filterless-cook command line tool, follow the instructions below:

Basic Usage

filterless-cook food

Replace food with the name of the food or product you want the recipe for.

Options

-h, --help: Show the help message and exit.

filterless-cook -h

-p PROMPT, --prompt PROMPT: Use a user-defined prompt for recipe generation.

filterless-cook food -p "Your custom prompt here"

-f FILE, --file FILE: Save the generated LaTeX document to the specified file path.

filterless-cook food -f /path/to/save/recipe.tex

-m, --measurement MEASUREMENT: Specify the type of measurement to be used in the recipes. Choose either 'metric' or 'imperial'. The default is 'metric'.

filterless-cook food -m imperial

--debug: Enable debug logging to see detailed log output.

filterless-cook food --debug

Example

To generate a chocolate cake recipe with a custom prompt and save it to chocolate_cake.tex with debug logging enabled:

filterless-cook "chocolate cake" -p "You are an expert baker with special experience in european cakes." -f chocolate_cake.tex --debug

Features

Feature Description
⚙️ Architecture The project is a Python package with central functionality in filterlesscook.py. It utilizes the OLLAMA library for LaTeX document creation and interacts with AI assistants through chat interaction.
🔩 Code Quality Well-organized code structure using Python, with adherence to the MIT license. Uses setup.py for distribution and easy installation via pip.
📄 Documentation Provides essential documentation in both README.md and an informative LICENSE file. It explains usage, requirements, and development processes.
🔌 Integrations Utilizes OLLAMA library for LaTeX document creation, and incorporates user-defined prompts and chat interactions to generate recipes.
⚡️ Performance Efficient LaTeX document generation, with potential room for improvement based on user's AI assistant model and requirements.
🛡️ Security Utilizes local uncensored AI assistant models (dolphin-mixtral) to generate recipe text while prioritizing user privacy.
📦 Dependencies Key external libraries include OLLAMA for LaTeX document creation, chat interaction interfaces and debug logging libraries.

Repository Structure

└── filterlesscook/
    ├── LISENCE
    ├── MANIFEST.in
    ├── filterlesscook
       ├── __init__.py
       └── filterlesscook.py
    └── setup.py

Modules

filterlesscook
File Summary
filterlesscook.py LaTeX documents for recipes using ollama library and chat interaction, user-defined prompts, and saved to specified file paths. Utilizes debug logging and employs an uncensored AI assistant model (dolphin-mixtral) to generate recipe text, ensuring no kittens are harmed.

License

This project is protected under the MIT License. For more details, refer to the LICENSE file.


Return


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

filterlesscook-0.1.4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

FilterlessCook-0.1.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file filterlesscook-0.1.4.tar.gz.

File metadata

  • Download URL: filterlesscook-0.1.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for filterlesscook-0.1.4.tar.gz
Algorithm Hash digest
SHA256 337466586f2c85e5422bba71ae0d0f928988ae1504ee02a2a2be3175d9c0a72f
MD5 ee1e35f422e2ff366b74f1827fd13bcb
BLAKE2b-256 1b842e47096f2b4578529cb7a78966316df4432d8c87db8f9b160e23d8eec91d

See more details on using hashes here.

File details

Details for the file FilterlessCook-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for FilterlessCook-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4a43ba79412e9fc67c7fa591c2bb73f10c6a35458e71441d759150c63a277ea9
MD5 5371df117654af5ae65b8eccac086cbd
BLAKE2b-256 29b6044ed2760daa39e97f6d5bff808a13be7030632170b54f1540ba08824260

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