Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
'use client'
import { useAtomValue } from 'jotai'
import { useTranslation } from 'react-i18next'
import useDocumentTitle from '@/hooks/use-document-title'
import { useKnowledgeSpace } from '../../space/context'
import { documentDetailTitleAtom } from './state/queries'
export function useDocumentDetailTitle() {
const { t } = useTranslation(['knowledgeSpace', 'dataset'])
const documentTitle = useAtomValue(documentDetailTitleAtom)
const { space } = useKnowledgeSpace()
const resolvedDocumentTitle = documentTitle ?? t(($) => $.documents)
const knowledgeSpaceTitle =
space.technical_summary?.name ?? t(($) => $.knowledge, { ns: 'dataset' })
useDocumentTitle(`${resolvedDocumentTitle} · ${knowledgeSpaceTitle}`)
}