Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
westey-m committed Jan 24, 2025
1 parent cb358fb commit 589528a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/decisions/00NN-hybrid-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ This language would then be used for all full text search indexes created by the

Add a property bag to the VectorStoreRecordProperty allowing database specific metadata to be provided.
Add an abstract base attribute that can be inherited from that allows extra metadata to be added to the data model,
where each database has their own attributes to specificy their settings, with a method to conver the contents to
where each database has their own attributes to specificy their settings, with a method to convert the contents to

Check warning on line 339 in docs/decisions/00NN-hybrid-search.md

View workflow job for this annotation

GitHub Actions / Spell Check with Typos

"specificy" should be "specify" or "specificity" or "specifically".
the property bag required by VectorStoreRecordProperty.

- Pros: Allows multiple languages to be used for different fields in one record
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static QueryDefinition BuildSearchQuery<TVector>(

// If Offset is not configured, use Top parameter instead of Limit/Offset
// since it's more optimized. Hybrid search doesn't allow top to be passed as a parameter
// so direclty add it to the query here.
// so directly add it to the query here.
var topArgument = skip == 0 ? $"TOP {top} " : string.Empty;

var builder = new StringBuilder();
Expand All @@ -81,7 +81,7 @@ public static QueryDefinition BuildSearchQuery<TVector>(
if (string.IsNullOrEmpty(topArgument))
{
// Hybrid search doesn't allow offset and limit to be passed as parameters
// so direclty add it to the query here.
// so directly add it to the query here.
builder.AppendLine($"OFFSET {skip} LIMIT {top}");
}

Expand Down

0 comments on commit 589528a

Please sign in to comment.