π»Inserting with API - encoding while inserting (recommended)
A guide to encoding while inserting
import requests
url = "https://vectorai-development-api.azurewebsites.net/collection/insert_and_encode"
requests.post(
url=url,
json={
"username": username,
"api_key": api_key,
"collection_name": collection_name,
"documents": documents,
"encoders": [
]
}
)Last updated
Was this helpful?