Skip to main content
The quality of your instructions directly determines the quality of the knowledge graph and AI responses. Vague instructions produce vague results. Specific, well-structured instructions produce graphs and answers you can trust.

Be specific about entity types

List the exact types you want extracted. Vague instructions leave Along guessing, and the graph will reflect that ambiguity.Don’t say “extract important people and organizations.” Say “Extract: Person (name, title, company), Organization (name, industry, headquarters).”

Specify exclusions explicitly

It’s often more effective to state what to skip than what to include. Along’s defaults are broad by design. Exclusions help you trim noise without having to enumerate every entity type you do want.

One instruction per concern

Break complex requirements into separate sentences rather than compound clauses. Long compound instructions are harder to follow consistently. “Extract deals and link them to their participants and their companies and their competitors but not internal stakeholders” is four separate rules — write them as four sentences.

Test incrementally

Add a small batch of representative content, inspect what the graph captures, then refine. Don’t try to write perfect instructions for content you haven’t seen yet. The graph’s entity and relationship counts are visible from the Safe dashboard — use them as feedback signals.

Good vs. bad example

Bad:
Extract important things and make connections between them.
Good:
Extract: Person (name, title, company), Organization (name, industry), Deal (name, stage, value).
Create WORKS_AT relationships between Person and Organization.
Create INVOLVED_IN relationships between Person and Deal when they are mentioned as a participant.
Skip: internal HR documents, financial reports, meeting invites without an agenda.
The bad example gives Along nothing actionable. The good example specifies types, relationships, and exclusions — each as a discrete instruction.

Common patterns

Citation enforcement
Cite the source document for every factual claim. Use the format [Document Title, Date].
If no source is available for a claim, do not include the claim.
Scope limiting
Only answer questions about [topic or domain]. If the user asks about something outside this scope, say "That's outside what this Safe covers" and do not attempt an answer.
Tone setting
You are a [role] for [team or company]. Communicate in a [formal/conversational/technical] tone.
Assume the reader has [basic/intermediate/expert] familiarity with [domain].
Recency preference
Prefer information from documents dated within the last 90 days.
When citing older documents, note the date and flag that the information may be outdated.
Structured output format
Format all [deal/account/issue] summaries with the following fields:
- [Field 1]
- [Field 2]
- [Field 3]
If a field is not documented in the knowledge base, write "Not recorded" — do not omit the field.