Skip to main content

Generative AI

16 commands. Toolkit id ooa.genai.

CommandWhat it does
Call SageMaker endpointSend a request as it is to any Amazon SageMaker endpoint (a model of any kind: forecasting, classification, pictures) and return its answer as text.
ChatSend a message in a conversation that remembers earlier messages of the same chat session until End chat.
ClassifyPut text into exactly one of your categories, with a short reason.
Detect languageTell which language a text is written in.
Detect personal dataFind personal data in text (emails, phone, card and ID numbers, IBANs, IP addresses; with a model also names and addresses) and give a masked copy. Patterns work without a model; numbers with a check digit must pass it.
End chatForget the messages of a chat session, so the next Chat starts a new conversation.
Extract fieldsExtract named fields from text (an email, a contract) into a Dictionary; missing fields come back empty.
Generate pictureDraw pictures from a description and save them as PNG files (OpenAI, Azure OpenAI, OpenAI-compatible, Vertex AI Imagen, Amazon Bedrock).
Hugging Face modelCall a Hugging Face model for any task (classify, fill in, read a picture or sound) with a JSON payload or a data file, and return its answer.
Key phrasesList the phrases that say what a text is about, most important first.
Named entitiesFind the people, organisations, places, dates, amounts and products a text names.
PromptSend a prompt and return the model's answer.
Prompt with picturesAsk about one or more pictures (a scanned form, a screenshot, a photo of a meter), or about videos with Gemini models, and return the model's answer.
SentimentRate text as positive, neutral or negative, with a score from -1 to 1.
SummariseSummarise text in a few sentences, keeping figures exact.
TranslateTranslate text into another language.