Skip to content

Commit

Permalink
Updating types
Browse files Browse the repository at this point in the history
  • Loading branch information
ajosh0504 committed Feb 4, 2025
1 parent 26eb8ab commit b3c40a9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ get_embedding(user_query, mode)
<summary>Answer</summary>
<div>

```python
```json
[
{
"$vectorSearch": {
Expand Down
8 changes: 4 additions & 4 deletions docs/40-optimizing-vector-search/2-pre-filtering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The answers for code blocks in this section are as follows:
<summary>Answer</summary>
<div>

```python
```json
{
"name": ATLAS_VECTOR_SEARCH_INDEX_NAME,
"type": "vectorSearch",
Expand All @@ -39,7 +39,7 @@ The answers for code blocks in this section are as follows:
<summary>Answer</summary>
<div>

```python
```json
{"year": {"$gte": 2000}}
```

Expand All @@ -52,7 +52,7 @@ The answers for code blocks in this section are as follows:
<summary>Answer</summary>
<div>

```python
```json
{
"name": ATLAS_VECTOR_SEARCH_INDEX_NAME,
"type": "vectorSearch",
Expand Down Expand Up @@ -80,7 +80,7 @@ The answers for code blocks in this section are as follows:
<summary>Answer</summary>
<div>

```python
```json
{"$and": [{"year": {"$gte": 2000}}, {"pages": {"$lte": 100}}]}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The answers for code blocks in this section are as follows:
<summary>Answer</summary>
<div>

```python
```json
{
"name": ATLAS_VECTOR_SEARCH_INDEX_NAME,
"type": "vectorSearch",
Expand Down
2 changes: 1 addition & 1 deletion docs/40-optimizing-vector-search/4-vector-quantization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The answers for code blocks in this section are as follows:
<summary>Answer</summary>
<div>

```python
```json
{
"name": ATLAS_VECTOR_SEARCH_INDEX_NAME,
"type": "vectorSearch",
Expand Down

0 comments on commit b3c40a9

Please sign in to comment.