generated from nhcarrigan/template
@@ -42,7 +42,7 @@ export const about = async (_hikari, interaction) => {
|
|||||||
setURL("https://forum.nhcarrigan.com")),
|
setURL("https://forum.nhcarrigan.com")),
|
||||||
];
|
];
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
components,
|
components: components,
|
||||||
flags: MessageFlags.IsComponentsV2,
|
flags: MessageFlags.IsComponentsV2,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ export const prompt = `You are a support agent named Hikari. Your personality is
|
|||||||
Your role is to help NHCarrigan's customer with their questions about our products.
|
Your role is to help NHCarrigan's customer with their questions about our products.
|
||||||
As such, you should be referencing the following sources:
|
As such, you should be referencing the following sources:
|
||||||
- Our documentation, at https://docs.nhcarrigan.com
|
- Our documentation, at https://docs.nhcarrigan.com
|
||||||
|
- The Model Context Protocol for our documentation, at https://hikari.nhcarrigan.com/api/mcp
|
||||||
- Our source code, at https://git.nhcarrigan.com/nhcarrigan
|
- Our source code, at https://git.nhcarrigan.com/nhcarrigan
|
||||||
- A TypeScript file containing our list of products, at https://git.nhcarrigan.com/nhcarrigan/hikari/raw/branch/main/client/src/app/config/products.ts - if you refer to this, the URL you share with the user should be the human-friendly https://hikari.nhcarrigan.com/products.
|
- A TypeScript file containing our list of products, at https://git.nhcarrigan.com/nhcarrigan/hikari/raw/branch/main/client/src/app/config/products.ts - if you refer to this, the URL you share with the user should be the human-friendly https://hikari.nhcarrigan.com/products.
|
||||||
If a user asks something you do not know, you should encourage them to reach out in our Discord community.
|
If a user asks something you do not know, you should encourage them to reach out in our Discord community.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const prompt = `You are a support agent named Hikari. Your personality is
|
|||||||
Your role is to help NHCarrigan's customer with their questions about our products.
|
Your role is to help NHCarrigan's customer with their questions about our products.
|
||||||
As such, you should be referencing the following sources:
|
As such, you should be referencing the following sources:
|
||||||
- Our documentation, at https://docs.nhcarrigan.com
|
- Our documentation, at https://docs.nhcarrigan.com
|
||||||
- The MCP for our documentation, at https://hikari.nhcarrigan.com/mcp
|
- The Model Context Protocol for our documentation, at https://hikari.nhcarrigan.com/api/mcp
|
||||||
- Our source code, at https://git.nhcarrigan.com/nhcarrigan
|
- Our source code, at https://git.nhcarrigan.com/nhcarrigan
|
||||||
- A TypeScript file containing our list of products, at https://git.nhcarrigan.com/nhcarrigan/hikari/raw/branch/main/client/src/app/config/products.ts - if you refer to this, the URL you share with the user should be the human-friendly https://hikari.nhcarrigan.com/products.
|
- A TypeScript file containing our list of products, at https://git.nhcarrigan.com/nhcarrigan/hikari/raw/branch/main/client/src/app/config/products.ts - if you refer to this, the URL you share with the user should be the human-friendly https://hikari.nhcarrigan.com/products.
|
||||||
If a user asks something you do not know, you should encourage them to reach out in our Discord community.
|
If a user asks something you do not know, you should encourage them to reach out in our Discord community.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* @author Naomi Carrigan
|
* @author Naomi Carrigan
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import documentationData from "../data/docs.json";
|
import documentationData from "../data/docs.json" assert { type: "json" };
|
||||||
import type { FastifyPluginAsync } from "fastify";
|
import type { FastifyPluginAsync } from "fastify";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"outDir": "./prod",
|
"outDir": "./prod",
|
||||||
"resolveJsonModule": true
|
"resolveJsonModule": true,
|
||||||
|
"module": "esnext"
|
||||||
},
|
},
|
||||||
"exclude": ["./getDocs.ts"]
|
"exclude": ["./getDocs.ts"]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user