Skip to content

Commit

Permalink
fix: correct case styles
Browse files Browse the repository at this point in the history
  • Loading branch information
RihanArfan committed Sep 19, 2024
1 parent 77070fd commit 5bd8b5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface HubConfig {
[key: string]: {
metric: 'cosine' | 'euclidean' | 'dot-product'
dimensions: number
metadata_indexes: {
metadataIndexes: {
[index: string]: string | number | boolean
} & { length: 10 }
}
Expand Down
6 changes: 3 additions & 3 deletions src/types/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ export interface ModuleOptions {
* products: {
* metric: 'cosine',
* dimensions: '768',
* metadata_indexes: { name: 'string', price: 'number', isActive: 'boolean' }
* metadataIndexes: { name: 'string', price: 'number', isActive: 'boolean' }
* },
* reviews: {
* metric: 'cosine',
* dimensions: '768',
* metadata_indexes: { rating: 'number' }
* metadataIndexes: { rating: 'number' }
* }
* }
* ```
Expand All @@ -77,7 +77,7 @@ export interface ModuleOptions {
[key: string]: {
metric: 'cosine' | 'euclidean' | 'dot-product'
dimensions: number
metadata_indexes: {
metadataIndexes: {
[index: string]: 'string' | 'number' | 'boolean'
} & { length: 10 }
}
Expand Down

0 comments on commit 5bd8b5f

Please sign in to comment.