Update README.md
Browse files
README.md
CHANGED
|
@@ -35,7 +35,7 @@ for x in embeddings.search("Bob Dylans second album", 1):
|
|
| 35 |
print(x["text"])
|
| 36 |
|
| 37 |
# Run a search and filter on popular results (page views).
|
| 38 |
-
for x in embeddings.search("SELECT id, text, score, percentile FROM txtai WHERE similar('
|
| 39 |
print(json.dumps(x, indent=2))
|
| 40 |
```
|
| 41 |
## Example output
|
|
|
|
| 35 |
print(x["text"])
|
| 36 |
|
| 37 |
# Run a search and filter on popular results (page views).
|
| 38 |
+
for x in embeddings.search("SELECT id, text, score, percentile FROM txtai WHERE similar('Where in the World Is Carmen Sandiego?') AND percentile >= 0.99", 1):
|
| 39 |
print(json.dumps(x, indent=2))
|
| 40 |
```
|
| 41 |
## Example output
|