Skip to content

docs tool: add the similarity to the configuration #37

@peterj

Description

@peterj

In the current implementation we're returning all results from the database:

            return [{"distance": qr.distance, "content": qr.content} for qr in results]

We should add a min_similarity to the configuration and then return all results that are >= the min_similarity. that way we can ensure only closest and most relevant items are returned.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions