HackerTrans
トップ新着トレンドコメント過去質問紹介求人

pierrebrunelle

no profile record

投稿

[untitled]

1 ポイント·投稿者 pierrebrunelle·3 か月前·0 コメント

Infinite-memory, Context-aware, & Multimodal Chatbot

github.com
3 ポイント·投稿者 pierrebrunelle·10 か月前·1 コメント

コメント

pierrebrunelle
·10 か月前·議論
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 か月前·議論
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