@dovenv/ai β
A plugin designed for developers seeking to integrate a local AI assistant into their development workflow. With @dovenv/ai, you can configure and run AI-powered chat environments tailored to your project's needs. This plugin is part of the dovenv ecosystem, which aims to simplify and enhance the developer experience.
Features β
- Local AI Assistant: Configure and run an AI assistant with customizable chat options.
- Seamless Integration: Works effortlessly with the
dovenvecosystem. - Extensible Configurations: Define and manage AI chat settings for various use cases.
Installation β
bash
npm install @dovenv/aibash
pnpm install @dovenv/aibash
yarn add @dovenv/aibash
bun add @dovenv/aibash
deno add @dovenv/aiCLI β
Usage with:
bash
dovenv aiOptions β
bash
-k, --key Select a Local AI assistant config keyConfig β
js
import { defineConfig } from '@dovenv/core'
import aiPluglin from '@dovenv/ai'
export default defineConfig(
aiPluglin( { chat : { chatID : { /* Your chat configuration */ } } } )
)Examples β
js
import { defineConfig } from '@dovenv/core'
import aiPluglin from '@dovenv/ai'
export default defineConfig( aiPluglin( {
chat : { env : {
input : [ './src/*' ],
theme : 'custom',
system : 'You are a code expert of this workspace.',
}}} ))Run it
bash
dovenv ai -k env