@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.
24 lines (21 loc) • 585 B
JavaScript
import { Prompt } from '../server/prompt.js';
// Description: Have a chat with a bot that uses context to understand the conversation + extension for Azure
export default {
prompt:
[
new Prompt({ messages: [
"{{chatHistory}}",
]}),
],
// prompt: `{{text}}`,
inputParameters: {
chatHistory: [],
contextId: ``,
indexName: ``,
semanticConfiguration: ``,
roleInformation: ``
},
model: `azure-extension`,
useInputChunking: false,
enableDuplicateRequests: false,
}