Cognify documentation#

Cognify is a fully automated optimizer for generative AI (gen-AI) workflows. It transforms user-provided workflows into a set of optimized versions with diverse quality-cost trade-offs. Cognify performs optimizations on individual steps within a workflow and also the workflow structure, with a multi-layer hierarchical optimization framework. Cognify offers improvements of up to 48% in quality and up to 9x cost reduction.

Getting started

New to Cognify? Check out our hello world example to get started. It shows how to quickly set up Cognify and optimize a simple workflow.

Tutorial

The tutorial explains each step involved in using Cognify. It covers workflow connector, evaluator, dataloader, optimizer configuration, the CLI, and how to interpret the results.

Fundamentals

The fundamentals section provides an in-depth explanation of the key concepts and features of Cognify.

API Reference

Want to dive into the code? The reference provides detailed information on the functions, classes and data structures used in Cognify.