UNPKG

ragvault

Version:

Securely manage and query your private data using a local vector database. Your private RAG.

18 lines (17 loc) 632 B
import chalk from "chalk"; import inquirer from "inquirer"; export async function promptCredentials(currentUser, users) { const { action } = await inquirer.prompt([ { type: "list", name: "action", message: chalk.cyan(`Hello there, ${currentUser}! Please add your credentials for fully enjoying our product. The optional credentials can be added later in settings.`), choices: [ "Set Collection Name*", "Add OPENAI-KEY(optional)", // "Add Notion Credentials(optional)", ], }, ]); return action; }