Update README.md
Browse files
README.md
CHANGED
@@ -36,11 +36,9 @@ embeddings.load(provider="huggingface-hub", container="burgerbee/txtai-sv-wikipe
|
|
36 |
for x in embeddings.search("I vilken stad ligger Liseberg?", 1):
|
37 |
print(json.dumps(x, indent=2))
|
38 |
|
39 |
-
|
40 |
# Run a search and filter on popular results (page views).
|
41 |
for x in embeddings.search("SELECT id, text, score, percentile FROM txtai WHERE similar('I vilken stad ligger Liseberg?') AND percentile >= 0.99", 1):
|
42 |
print(json.dumps(x, indent=2))
|
43 |
-
|
44 |
```
|
45 |
|
46 |
## Use Cases
|
|
|
36 |
for x in embeddings.search("I vilken stad ligger Liseberg?", 1):
|
37 |
print(json.dumps(x, indent=2))
|
38 |
|
|
|
39 |
# Run a search and filter on popular results (page views).
|
40 |
for x in embeddings.search("SELECT id, text, score, percentile FROM txtai WHERE similar('I vilken stad ligger Liseberg?') AND percentile >= 0.99", 1):
|
41 |
print(json.dumps(x, indent=2))
|
|
|
42 |
```
|
43 |
|
44 |
## Use Cases
|