Skip to content

docs: align README and GET /retrieve with public docs - #83

Draft
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/brainapi-docs-review-f0f8
Draft

docs: align README and GET /retrieve with public docs#83
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/brainapi-docs-review-f0f8

Conversation

@cursor

@cursor cursor Bot commented Aug 3, 2026

Copy link
Copy Markdown

Summary

After the GraphRAG / context retrieval landing on main, checked public docs at https://brainapi.lumen-labs.ai/docs/v2 against the live API.

In-repo fixes (this PR)

  • Default preferred_entities to "" on GET /retrieve so the hosted quickstart (which omits it) works.
  • Retarget README Resources / retrieval links away from 404 /docs/rest and /docs/quickstart toward /docs/v2 paths.
  • Note current /retrieve/context response fields (source_passages, optional provenance knobs).

Hosted docs still need edits (source not in this repo)

  • /docs/v2/retrieval/context: document new request knobs (max_facts, max_passages, use_ppr, cross_event_bridges, …) and response fields (source_passages, graph_session_ids, topics, paths, …); fix sample that nests historical_context inside triples.
  • /docs/v2/ingestion/structured-data: still documents the old json_data/types shape; live API expects event-centric triples.
  • Installation: bin/brainapi.shbin/brainapi.

Internal-only merges (#80 observations context default, #81 NetworkX event-path) do not need docs changes.

Open in Web View Automation 

cursoragent and others added 2 commits August 3, 2026 11:39
Align GET /retrieve with the hosted quickstart, which omits preferred_entities.
The controller already treats empty values as no preference.

Co-authored-by: Christian <ChrisCoder9000@users.noreply.github.com>
Point Resources and retrieval links at /docs/v2 paths (old /docs/rest and
/docs/quickstart 404). Mention current /retrieve/context response fields.

Co-authored-by: Christian <ChrisCoder9000@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant