An AI agent starts with a model: something you send words to and get words back from. Meet Pip, our tiny practice model. Pip runs right here in your browser and always gives the same answer to the same message, so your tests always work.
import pip
answer = pip.ask("Hey Pip!")
print(answer)Hello! I am Pip, a tiny practice model. Ask me something.
pip.ask() takes your message (the prompt) and gives back Pip's reply as text. Real models work the same way. They're just bigger.
import pip.pip.ask("Hello!") in a variable called reply.reply.import pip, then reply = pip.ask("Hello!"), then print(reply).
import pip
reply = pip.ask("Hello!")
print(reply)Press "Talk it out" at the top. Our Discord opens soon; until then email us and paste your code.