Conversation workspace

Wellness chat

Messages

Ask below; the assistant streams into this thread.

Session & send

Configure session settings below, then use + beside the message box to attach a document.

Prefer a numeric id (e.g. 999) so it matches ai_chat_sessions.user_id (bigint).

Recent conversations

    Live pipeline

    Retrieval trace

    Patient wellness chat retrieves from user_vector_store (chat_document, chat_session_summary, patient consultation_ai_summary) plus the global wellness KB.

    Query snapshot
    
                

    BM25

    Lexical keyword scores (wellness KB)
    scoresource_typetopicchunk_idcontent

    Vector

    user_vector_store ∪ wellness embeddings
    scoresource_typetopicchunk_idcontent

    Hybrid (RRF)

    Fused lexical + vector ranks
    rrflanesource_typebm25#vec#topicchunk_idcontent

    Reranked

    Cross-encoder style ordering
    reranklanesource_typetopicchunk_idcontent

    Context-filtered

    Final context for the model
    reranklanesource_typetopicchunk_idcontent