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.5.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

FilterlessCook-0.1.5-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: filterlesscook-0.1.5.tar.gz
  • Upload date:
  • Size: 6.1 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.5.tar.gz
Algorithm Hash digest
SHA256 68b8133b5218d61c2922106be2e6fa74f46f93f3a7aac0242c2961ac9cffa7eb
MD5 dc9c84ade67ad9d0e7bc1645683a0040
BLAKE2b-256 0572eb585d365e1ed2c97b607af05b071f619ebe1b91c66b9cd148f9f2b4ed8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for FilterlessCook-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 777f03a6832d35023c8b1ccc7f3f7cd12cb2955dce698991fc15920ce910a9e8
MD5 802aa4380f904f5f6229c987cb0deee7
BLAKE2b-256 1b9833475c5d8b89e52c7e6449e649926fc9ebe5fd5eb510e13842ccea0cc475

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