Aida is a language-agnostic library for text generation. When using Aida, first you compose a tree of operations on your text that includes conditions via branches and other control flow. Later, you fill the tree with data and render the text. A building block is a variable class: Var. Use it to represent a value that you want to control later. A variable can hold numbers (e.g. float, int) or strings. You can create branches and complex logic with Branch. The context, represented by the class Ctx, is useful to create rules that depends on what has been written before. Each object or literal that is passed to Aida is remembered by the context. Creating a reference expression is a common use-case, so we have a helper function called create_ref. You can compose operations on your text with some handy operators.

Features

  • Language agnostic library for text generation
  • A building block is the variable class
  • You can create branches and complex logic with Branch
  • Create rules that depends on what has been written before
  • Each object or literal that is passed to Aida is remembered by the context
  • Creating a reference expression is a common use-case

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Aida Lib

Aida Lib Web Site

You Might Also Like
Field Service Management Software | BlueFolder Icon
Field Service Management Software | BlueFolder

Maximize technician productivity with intuitive field service software

Track all your service data in one easy-to-use system, enabling your team to move faster and generate more revenue for your bottom line.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Aida Lib!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Text Generators, Python Generative AI

Registered

2023-03-23