Open noCharger opened 7 months ago
Should this be part of a plugin README? Maybe contribute to the doc website once we launch?
Generally, I see the "how to use it" documentation in the doc website. The how to build it/details of how it works should go into the repo as a README (great idea). The sequence diagram should be part of the README along with details about the code. Requests and responses should go into the docs. Also, even if we just have a self-install plugin, but it works we can add this to the documentation site.
@noCharger do you want to make an attempt at this separation when you get a chance? BTW, nice job on the diagram. Maybe good for a review in an upcoming public search relevance meeting.
cc: @epugh for any feedback...
Workflow
Core mapping: Grade (from judgment) - Features (feature name 1, feature name 2, ...) - document identifier
Sequence Diagram
Step 1: Create ltr index
ltr index conatains metadata about features and models
Step 2: Create feature set
Features are templated OpenSearch Queries. Users can select and experiment with features.
A feature set is a list of features (with unique names) that has been grouped together for logging & model evaluation.
Step 3: Logging feature values with docs
Logs in search response
Search with models
Rescore Phase with SLTR Query: In the rescore phase, you apply the SLTR model to rerank the top documents returned by the query phase based on the features defined in your learning-to-rank model.