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

Uploaded Source

Built Distribution

FilterlessCook-0.1.7-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: filterlesscook-0.1.7.tar.gz
  • Upload date:
  • Size: 6.4 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.7.tar.gz
Algorithm Hash digest
SHA256 d2133dc64171d0c753dd92d098051ea7fb8e2c2c5fd71344055a44255794d960
MD5 02397a50070143dd8bab0074117d8161
BLAKE2b-256 e3a8a5572ee5f46859b3182253593d42db1980a62c6e565d1bcf3d55b45ee4f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for FilterlessCook-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c80b54c3c3acacb3446a752ccac83e2086ad3b6e07f4b46a41d0d47eff08554c
MD5 577e3d077d37184dd9973a4997905c88
BLAKE2b-256 4396ad11e1fdb6513b216e7de03914e385e36314bea930076105d70083a4d1fe

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