Skip to content

Commit fdbfe0e

Browse files
committed
Renamed /rcc-devdocs to /rcc-askdocs
1 parent 1e5c3fd commit fdbfe0e

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

ai-assistant/src/RocketChatterApp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
} from "@rocket.chat/apps-engine/definition/api";
1717
import { UIKitViewSubmitInteractionContext } from "@rocket.chat/apps-engine/definition/uikit";
1818
import { AskCodeCommand } from "./commands/AskCodeCommand";
19-
import { DevDocsCommand } from "./commands/DevDocsCommand";
19+
import { AskDocsCommand } from "./commands/AskDocsCommand";
2020
import { DiagramCommand } from "./commands/DiagramCommand";
2121
import { DocumentCommand } from "./commands/DocumentCommand";
2222
import { FindSimilarCommand } from "./commands/FindSimilar";
@@ -51,7 +51,7 @@ export class RocketChatterApp extends App {
5151
configuration.slashCommands.provideSlashCommand(new HelpCommand());
5252

5353
configuration.slashCommands.provideSlashCommand(new AskCodeCommand());
54-
configuration.slashCommands.provideSlashCommand(new DevDocsCommand());
54+
configuration.slashCommands.provideSlashCommand(new AskDocsCommand());
5555
configuration.slashCommands.provideSlashCommand(new DiagramCommand());
5656
configuration.slashCommands.provideSlashCommand(new DocumentCommand());
5757
configuration.slashCommands.provideSlashCommand(

ai-assistant/src/commands/DevDocsCommand.ts renamed to ai-assistant/src/commands/AskDocsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import { MiniLML6 } from "../core/embeddings/minilml6";
1313
import { Llama3_70B } from "../core/llm/llama3_70B";
1414
import { handleCommandResponse } from "../utils/handleCommandResponse";
1515

16-
export class DevDocsCommand implements ISlashCommand {
17-
public command = "rcc-devdocs";
16+
export class AskDocsCommand implements ISlashCommand {
17+
public command = "rcc-askdocs";
1818
public i18nParamsExample = "";
1919
public i18nDescription = "";
2020
public providesPreview = false;

ai-assistant/src/core/prompt/contents/ask.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)