Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

215 B
Raw Blame
import { useParams } from 'react-router';

export function useBuildWebhookUrl() {
  const { id } = useParams();

  const text = `${location.protocol}//${location.host}/api/v1/agents/${id}/webhook`;
  return text;
}