Skip to content

feat: add search result quality feedback loop (#604) - #1

Open
qwenbona wants to merge 1 commit into
mainfrom
feat/search-feedback-loop
Open

feat: add search result quality feedback loop (#604)#1
qwenbona wants to merge 1 commit into
mainfrom
feat/search-feedback-loop

Conversation

@qwenbona

Copy link
Copy Markdown
Owner

Summary

Adds a --feedback flag to search_knowledge.py that logs search quality feedback to data/search-feedback.jsonl.

Changes

  • New --feedback CLI flag (positive/negative) for search results
  • Feedback logged as JSONL: query, result IDs, feedback type, timestamp
  • No PII collected, no external dependencies added
  • Existing search behavior unchanged when flag is not used

Why

Enables iterative improvement of search relevance by collecting structured feedback on result quality. Addresses Ikalus1988#604.

Testing

  • python search_knowledge.py "test query" --feedback positive → logs to JSONL
  • Without --feedback → behavior identical to before

Add --feedback flag to search_knowledge.py that prompts users after
displaying results and logs feedback to data/search-feedback.jsonl.
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