mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-22 13:18:06 +02:00
Fix doc embeddings invocation (#672)
* Fix doc embeddings invocation * Tidy query embeddings invocation
This commit is contained in:
parent
f2ae0e8623
commit
b2ef7bbb8c
4 changed files with 27 additions and 9 deletions
|
|
@ -695,7 +695,7 @@ class SocketFlowInstance:
|
|||
collection="research-papers",
|
||||
limit=5
|
||||
)
|
||||
# results contains {"chunk_ids": ["doc1/p0/c0", ...]}
|
||||
# results contains {"chunks": [{"chunk_id": "...", "score": 0.95}, ...]}
|
||||
```
|
||||
"""
|
||||
# First convert text to embedding vector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue