A small wrapper library to help test systems using STAR
Reason this release was yanked:
A bug in the CI pipeline caused the wrong version number to be used
Project description
MOdel Test Harness (Moth)
Simple way to interrogate your AI model from a separate testing application
Quickstart
moth server <folder path>
moth client
Simplest possible model client
from moth import Moth
from moth.message import ImagePromptMsg, PromptResultMsg
moth = Moth("my-ai")
@moth.prompt
def on_prompt(prompt: ImagePromptMsg):
# TODO: Do smart AI here
return PromptResultMsg(class_name="cat") # Most pictures are cat pictures
moth.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
starmoth-0.0.0.tar.gz
(6.0 kB
view hashes)