Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

333 B
Raw Blame
const GENERIC_SUPPORT_DESCRIPTION = /^Public support knowledge for (.+)\.$/;

export function getKnowledgeDisplayDescription(description: string): string {
  const match = description.match(GENERIC_SUPPORT_DESCRIPTION);
  if (!match) return description;

  return `Setup and troubleshooting guidance for ${match[1]} in Composio.`;
}