inkeep-settings.ts 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // inkeep apiKeys is public, set to only work on https://www.anchor-lang.com
  2. export const settings = {
  3. baseSettings: {
  4. apiKey: "815f8fee7a5da7d98c681626dfbd268bdf7f7dc7cb80f618",
  5. integrationId: "cm7nvgfuu001ks6016t3m0gje",
  6. organizationId: "org_iKCh36NfndEFpB3M",
  7. organizationDisplayName: "Anchor",
  8. primaryBrandColor: "#9945ff",
  9. customCardSettings: [
  10. {
  11. filters: {
  12. UrlMatch: {
  13. ruleType: "PartialUrl",
  14. partialUrl: "https://www.anchor-lang.com/docs",
  15. },
  16. },
  17. searchTabLabel: "Anchor Docs",
  18. },
  19. {
  20. filters: {
  21. UrlMatch: {
  22. ruleType: "PartialUrl",
  23. partialUrl: "solana.com",
  24. },
  25. },
  26. searchTabLabel: "Solana Docs",
  27. },
  28. {
  29. filters: {
  30. UrlMatch: {
  31. ruleType: "PartialUrl",
  32. partialUrl: "https://docs.anza.xyz/",
  33. },
  34. },
  35. searchTabLabel: "Anza Docs",
  36. },
  37. {
  38. filters: {
  39. UrlMatch: {
  40. ruleType: "PartialUrl",
  41. partialUrl: "https://solana.stackexchange.com/",
  42. },
  43. },
  44. searchTabLabel: "Stack Exchange",
  45. },
  46. ],
  47. },
  48. searchSettings: {
  49. shouldOpenLinksInNewTab: true,
  50. placeholder: "Search",
  51. },
  52. aiChatSettings: {
  53. chatSubjectName: "Solana",
  54. introMessage:
  55. "I'm an AI assistant trained on documentation, github repos, and other content. Ask me anything about `Solana`.",
  56. botAvatarSrcUrl: "https://solana.com/favicon.png",
  57. disclaimerSettings: {
  58. isDisclaimerEnabled: true,
  59. },
  60. actionButtonLabels: {
  61. getHelpButtonLabel: "Get Support",
  62. },
  63. getHelpCallToActions: [
  64. {
  65. name: "Discord",
  66. url: "https://discord.com/invite/NHHGSXAnXk",
  67. icon: {
  68. builtIn: "FaDiscord",
  69. },
  70. },
  71. {
  72. name: "Stack Exchange",
  73. url: "https://solana.stackexchange.com/",
  74. icon: {
  75. builtIn: "FaStackOverflow",
  76. },
  77. },
  78. ],
  79. quickQuestions: [
  80. "How to set up local environment for Solana development?",
  81. "What is the Solana Account Model?",
  82. "How to build a Solana Program?",
  83. ],
  84. },
  85. };