Workflows are the building blocks of Itzam. They represent a specific functionality in your app (e.g. a support chat, a code generator, a content writer, etc).A Workflow contains:
Model: The AI model you want to use (e.g. GPT-4o, Claude 3.7 Sonnet, Gemini 2.5 Pro, etc).
Prompt: The prompt you want to give to the model (e.g. “You are a customer support agent from Acme Inc…”).
Knowledge: The files and links you want the AI to use as context (e.g. company docs, wikipedia links, etc).
Threads allow you to easily create a conversation inside a Workflow.A thread is a collection of messages between a user and the AI.You can create as many threads as you want inside a Workflow:
Knowledge is the data you provide to the AI model to use to answer a question (e.g. documents, links).This data can be global (used in every run) or specific to a context (used only if the context slug is provided or if the thread is linked to a context).
Contexts are a way to group knowledge. You can use contexts to provide knowledge to the AI only when you want to.For example, you can have a context for “Customer Support” and a context for “Sales”. Then, you can use the “Customer Support” context only if the user is from the Customer Support teamYou can also link a thread to any context. This will make the context available to the AI model in the whole thread.
Prompt (or System Prompt) is the instructions you provide to the AI model to use to generate text. E.g. “You are a customer support agent from Acme Inc…”.