HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pierrebrunelle

no profile record

Submissions

[untitled]

1 points·by pierrebrunelle·3 mesi fa·0 comments

Infinite-memory, Context-aware, & Multimodal Chatbot

github.com
3 points·by pierrebrunelle·10 mesi fa·1 comments

comments

pierrebrunelle
·10 mesi fa·discuss
Building 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 mesi fa·discuss
Agree...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