Infinite-memory, Context-aware, & Multimodal Chatbotgithub.com3 points·by pierrebrunelle·10 bulan yang lalu·1 comments
pierrebrunelle·10 bulan yang lalu·discussBuilding an infinite-memory, context-aware, multimodal chatbot is as easy as 600 lines of Pixeltable code.Why? Because Pixeltable is the only multimodal data infrastructure that unifies storage and orchestration for your AI workloads.
pierrebrunelle·11 bulan yang lalu·discussAgree...as simple as:@pxt.query def search_documents(query_text: str, user_id: str): sim = chunks.text.similarity(query_text) return ( chunks.where( (chunks.user_id == user_id) # Metadata filtering & (sim > 0.5) # Filter by similarity threshold & (pxt_str.len(chunks.text) > 30) # Additional filter/transformation ) .order_by(sim, asc=False) .select( chunks.text, source_doc=chunks.document, # Ref to the original document sim=sim, title=chunks.title, heading=chunks.heading, page_number=chunks.page ) .limit(20) )For instance in https://github.com/pixeltable/pixeltable
Why? Because Pixeltable is the only multimodal data infrastructure that unifies storage and orchestration for your AI workloads.