Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ogzhanolguncu committed Jan 18, 2024
2 parents bcda57d + 017c948 commit ad8622c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ const index = new Index({

Upstash vector indexes support operations for working with vector data using operations such as upsert, query, fetch, and delete.

### Targeting an index
### Accessing an index

To perform data operations on an index, you target it using the `index` method.
To perform data operations on an index, access it using the `index` method.

```typescript
// Now perform index operations
await index.fetch([1, 2, 3], { includeMetadata: true, includeVectors: true });
```

### Targeting an index, with metadata typing
### Accesing an index, with metadata typing

If you are storing metadata alongside your vector values, you can pass a type parameter to `index()` in order to get proper TypeScript typechecking.

Expand Down

0 comments on commit ad8622c

Please sign in to comment.