@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.
18 lines (17 loc) • 397 B
JavaScript
export default {
prompt: `{{text}}`,
model: 'azure-cognitive',
inputParameters: {
calculateInputVector: false,
indexName: ``,
inputVector: ``,
file: ``,
privateData: true,
docId: ``,
chatId: ``,
},
mode: 'index', // 'index' or 'search',
inputChunkSize: 500,
enableDuplicateRequests: false,
timeout: 3000,
};