anything-llm/server/utils/agents/aibitat/plugins/index.js
Timothy Carambat a5bb77f97a
Agent support for @agent default agent inside workspace chat (#1093)
V1 of agent support via built-in `@agent` that can be invoked alongside normal workspace RAG chat.
2024-04-16 10:50:10 -07:00

27 lines
813 B
JavaScript

const { webBrowsing } = require("./web-browsing.js");
const { webScraping } = require("./web-scraping.js");
const { websocket } = require("./websocket.js");
const { docSummarizer } = require("./summarize.js");
const { saveFileInBrowser } = require("./save-file-browser.js");
const { chatHistory } = require("./chat-history.js");
const { memory } = require("./memory.js");
module.exports = {
webScraping,
webBrowsing,
websocket,
docSummarizer,
saveFileInBrowser,
chatHistory,
memory,
// Plugin name aliases so they can be pulled by slug as well.
[webScraping.name]: webScraping,
[webBrowsing.name]: webBrowsing,
[websocket.name]: websocket,
[docSummarizer.name]: docSummarizer,
[saveFileInBrowser.name]: saveFileInBrowser,
[chatHistory.name]: chatHistory,
[memory.name]: memory,
};