UNPKG

@aj-archipelago/cortex

Version:

Cortex is a GraphQL API for AI. It provides a simple, extensible interface for using AI services from OpenAI, Azure and others.

11 lines (8 loc) 447 B
// bias.js // Objectivity analysis of text // This module exports a prompt that analyzes the given text and determines if it's written objectively. It also provides a detailed explanation of the decision. export default { // Uncomment the following line to enable caching for this prompt, if desired. // enableCache: true, prompt: `{{text}}\n\nIs the above text written objectively? Why or why not, explain with details:\n`, };