@@ -11,10 +11,11 @@ import { useModals } from '~/context/ModalContext'
1111import StyledModal from '../StyledModal'
1212
1313interface KnowledgeBaseModalProps {
14+ aiAssistantName ?: string
1415 onClose : ( ) => void
1516}
1617
17- export default function KnowledgeBaseModal ( { onClose } : KnowledgeBaseModalProps ) {
18+ export default function KnowledgeBaseModal ( { aiAssistantName = "AI Assistant" , onClose } : KnowledgeBaseModalProps ) {
1819 const { addNotification } = useNotifications ( )
1920 const [ files , setFiles ] = useState < File [ ] > ( [ ] )
2021 const fileUploaderRef = useRef < React . ComponentRef < typeof FileUploader > > ( null )
@@ -140,12 +141,12 @@ export default function KnowledgeBaseModal({ onClose }: KnowledgeBaseModalProps)
140141 </ div >
141142 < div >
142143 < p className = "font-medium text-desert-stone-dark" >
143- AI Assistant Knowledge Base Integration
144+ { aiAssistantName } Knowledge Base Integration
144145 </ p >
145146 < p className = "text-sm text-desert-stone" >
146147 When you upload documents to your Knowledge Base, NOMAD processes and embeds
147- the content, making it directly accessible to the AI Assistant . This allows
148- the AI Assistant to reference your specific documents during conversations,
148+ the content, making it directly accessible to { aiAssistantName } . This allows{ ' ' }
149+ { aiAssistantName } to reference your specific documents during conversations,
149150 providing more accurate and personalized responses based on your uploaded
150151 data.
151152 </ p >
@@ -177,8 +178,7 @@ export default function KnowledgeBaseModal({ onClose }: KnowledgeBaseModalProps)
177178 </ p >
178179 < p className = "text-sm text-desert-stone" >
179180 NOMAD will automatically discover and extract any content you save to your
180- Information Library (if installed), making it instantly available to the AI
181- Assistant without any extra steps.
181+ Information Library (if installed), making it instantly available to { aiAssistantName } without any extra steps.
182182 </ p >
183183 </ div >
184184 </ div >
0 commit comments