Generate LaTeX formatted food recipes using the ollama library.
Project description
FILTERLESSCOOK
Unique Data Recipes, No Filters Needed!
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
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.
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
Built Distribution
File details
Details for the file filterlesscook-0.1.3.tar.gz
.
File metadata
- Download URL: filterlesscook-0.1.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f29f52f94bc7560ec4d61bda93044c525d4b7a25a4e0b9c32605777070b71a9 |
|
MD5 | 7c518b48e6a4ca94c7470e3489a24844 |
|
BLAKE2b-256 | 5cd1eaf69968b4ea8416d73c12cecf313c6fc534d06ea460abc77b83cd037f4c |
File details
Details for the file FilterlessCook-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: FilterlessCook-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dda9c58cb69380ac6f1c47701ec4062380b0c754f139c1ac5cd24dc9ac0727d |
|
MD5 | 12c3e11fc212c0a3debdea216d75c959 |
|
BLAKE2b-256 | 2e2a0153c52c6254d44382430b79a943b68f8f0a1a097c07393c5fa0802f7ff4 |