Skip to content

Initial release πŸŽ‰

Compare
Choose a tag to compare
@amoffat amoffat released this 03 Aug 08:06
· 19 commits to main since this 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))