Skip to content
Discussion options

You must be logged in to vote

All three hold. I checked v0.7.0 (latest release) and current main (3ebdb95), where the method is unchanged.

  1. vector_search() returns retrieve()'s list of RetrievedContext, a plain dataclass with no .get. So L2784 raises AttributeError and the except logs one ERROR line and returns {"context": [], "metadata": {}}. Also, limit=20 is ignored: retrieve() takes max_results (default 5).
  2. Seeding from the vector hits was the intent. The first version called expand_context(entity_id) for each of relevant_entities[:10]; 194a72d ("resolve all failing tests") replaced that with expand_context(query).
  3. "Unknown" is hard-coded at L2950. On a ContextGraph it's worse: get_neighbors() returns dicts that a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sarweshwargoud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants