Maxim AI release notes
Maxim AI release notes
www.getmaxim.ai

🏷️ Filter prompts using tags, folders and folder tags

 

New

  
  • Now, you can use tags on prompts and/or folders to retrieve prompts using Maxim SDK. This gives more flexibility to fetch bulk of prompts related to workflow or any other tags.

Examples

  1. Filtering prompt using tags
const prompts = await maximClient.getPrompts(
    new QueryBuilder()
            .and()
            .deploymentVar("Environment", "prod")
            .tag("CustomerId", "123")
            .build(),
);
  1. Filtering using folder
const folder = ...
const prompts = await maximClient.getPrompts(
    new QueryBuilder()
    .and()  
    .folder(folder.id)
    .deploymentVar("Environment", "prod")
    .build(),
);