ENTERPRISE INTELLIGENCE

A wellbeing assistant with memory

Contextual emotional support with retrieval over the brand's own wellbeing resources, Llama 2 responses and conversation memory for continuity across sessions. Positioned honestly as consumer wellbeing, not clinical treatment.

Wellbeing · sessionlive
Last week we talked about sleep. The breathing routine helped a bit. Any other ideas for tonight?
W
Glad the breathing routine helped. From our guide on evening wind-down, two options to try tonight: a short body scan, or a dim-light reading cue. Both are 5-10 min. [cite · brand guide]
ScopeConsumer wellbeing · not clinical · escalate to a human anytime
Grounding
Brand resources
Session continuity
Memory recalls
Safety scope
Explicit
Positioning
Not clinical
Client
Consumer wellbeing product company (anonymised)
End users
Consumers interacting with the brand's wellbeing surface
Scope
Retrieval-augmented assistant with memory and guardrails, grounded in the brand's own content
Engagement
Architecture + Build + Safety design
The Pain

Where the pain concentrates

The brief was a consumer wellbeing assistant, not a clinical treatment system. That distinction had to show up in the design, in the guardrails and in the way the assistant handled the limits of what it could usefully say.

01

Context loss between sessions

A returning user had to re-establish what they already told the assistant last week. Not an assistant, a quiz.

02

Hallucinated advice

A general-purpose model answering wellbeing questions could easily drift beyond what was useful or safe. Not a feature failure, a user safety concern.

03

Grounding against brand resources

The brand had its own wellbeing material. The assistant's responses needed to be grounded in it, not in a model's general training.

04

Safety boundaries

The assistant had to know what it was and what it was not, and stay inside that boundary without surprising the user.

Voice of the Customer

What the product team actually said

“If the assistant forgets me every session, it is not an assistant, it is a quiz.
“Hallucinated advice on a wellbeing surface is not a feature failure, it is a user safety concern.
“The brand explicitly positions this as consumer wellbeing, not clinical treatment. That boundary has to show up in the product.
Our Approach

Grounded, remembering, bounded

The design decision came first: this is a consumer wellbeing assistant, not a clinical treatment system. That boundary had to show up in product copy, in retrieval choices and in the output guardrails, consistent across all three. A system that drifts between those three loses the user's trust the first time it over-reaches.

ScroBits built the full stack: Sentence Transformer embeddings over the brand's own wellbeing content; Llama 2 as the generation model (chosen for latency and privacy); Pinecone-backed conversation memory keyed by user; and explicit output guardrails that keep the assistant inside its intended scope with a clear redirect when a question falls outside.

What runs today is a wellbeing assistant that remembers the user, grounds responses in the brand's own material and stays inside explicit safety boundaries. Not a clinically validated treatment system, and the product does not pretend to be one.

Grounded
In the brand's own resources, every response

Retrieval over the brand's wellbeing content comes first. Generation stays in the brand's voice. Memory keeps the user in rhythm. Guardrails hold the line.

Sentence Transformer retrieval
Llama 2 generation
Pinecone conversation memory
Explicit response guardrails
Honest product framing
What We Built

Five building blocks, one bounded assistant

Each block has a specific job between the user, the brand's material and the safety scope. Together they make a wellbeing assistant that is useful, continuous and honest.

Illustration of a wellbeing assistant with conversation memory, emotional check-ins, wellbeing resources, personalised suggestions, and response guardrails.
WELLBEING ASSISTANT · Illustrative concept. Select the image to view at full size.

Retrieval over brand resources

Sentence Transformer embeddings over the brand's own wellbeing content. The assistant retrieves brand material first; responses stay in the brand's voice, framings and recommendations.

Llama 2 for generation

Open-weight Llama 2 as the generation model, chosen for latency and privacy fit. Query, retrieved brand resources and relevant conversation history flow into the prompt.

Conversation memory with Pinecone

Pinecone stores conversation history keyed by user. On a returning session, the assistant retrieves relevant prior context so the user does not re-establish what they already shared.

Response guardrails

Explicit output constraints keep the assistant inside its intended scope. Topics outside scope receive a clear redirect. The assistant does not simulate expertise it does not have.

Honest product framing

Positioned as a consumer wellbeing assistant, not a clinically validated treatment system. The boundary is in the copy, in the guardrails and in the escalation surface, consistent across the three.

01

Query

User asks a wellbeing question in the brand's surface.

02

Retrieve resources

Sentence Transformers return relevant brand wellbeing material.

03

Retrieve memory

Pinecone returns relevant prior conversation context for this user.

04

Compose

Query, resources and memory feed into the prompt as grounded context.

05

Generate

Llama 2 produces the response, grounded in the retrieved context.

06

Guardrail

Response passes through output guardrails before reaching the user.

07

Store

Exchange is written back to conversation memory for future sessions.

FIG · QUERY-TO-STORE FLOW
Llama 2Sentence TransformersPineconeRAG orchestrationConversation memory layerResponse guardrails
Measured Outcome

Before, after, change

Demonstrates contextual assistance and memory in a consumer wellbeing application. Not a clinically validated treatment system.

DimensionBeforeAfterChange
Session continuityEach session a cold startMemory recalls relevant prior contextContinuous
GroundingGeneral model opinionRetrieval over brand's own resourcesGrounded
Safety scopeImplicitExplicit guardrails + explicit product framingVisible
Returning user experienceRe-establish from scratchPicks up where it left offWelcoming
Grounded
Responses tied to brand resources
Continuous
Memory across sessions
Explicit
Safety scope in product + guardrails
Honest
Consumer wellbeing, not clinical
A wellbeing assistant that remembers the user, grounds responses in the brand's own material and stays inside explicit safety boundaries. Positioned honestly as consumer wellbeing, not clinical treatment.
On the Roadmap

Extending the assistant within its scope

01

Emotion-aware response pacing

Assistant modulates length and tone based on the user's current state.

02

Resource recommendation surfacing

The brand's deeper content is reachable from inside the conversation.

03

Multi-language support

Retrieval serves the brand's material in the user's preferred language.

04

Caregiver and family handoff

Users who want to share context with a trusted human can do so safely.

What We Learned

Three principles we are taking into the next engagement

01

Grounding is a safety feature

A general model will drift into advice it has no business giving. Retrieving the brand's own wellbeing material first keeps the assistant in the voice and scope the brand owns.

02

Memory is not a vanity feature

A wellbeing assistant that forgets the user every session is not an assistant. Pinecone-backed memory lets the assistant stay in rhythm with the user over time.

03

Framing is part of the product

Positioning this honestly as consumer wellbeing (not clinical treatment) in product copy, in guardrails and in the escalation surface is the design discipline that makes the whole thing responsible.

Shipping a wellbeing experience and want it grounded, remembering and safe?

ScroBits builds the retrieval layer, the memory layer, the generation pipeline and the guardrails. Two weeks to a scoped pilot on your own wellbeing material.

Start a conversation