Initial release π
Function execution
Handles the execution of an arbitrary function on an LLM
from manifest import ai
@ai
def translate(english_text: str, target_lang: str) -> str:
""" Translates text from english into a target language """
assert translate("Hello", "fr") == "Bonjour"
Multimodal images
Allows seamless image uploads
from pathlib import Path
from manifest import ai
@ai
def breed_of_dog(image: Path) -> str:
"""Determines the breed of dog from a photo"""
image = Path("path/to/dog.jpg")
print(breed_of_dog(image))