Remove unused /datasets/<id>/embedding endpoint (#16936)

This commit is contained in:
euvre
2026-07-15 17:42:41 +08:00
committed by GitHub
parent 77d35a3387
commit 70a49c947d
8 changed files with 2 additions and 302 deletions

View File

@@ -483,12 +483,6 @@ def delete_index(auth, dataset_id, index_type, *, headers=HEADERS):
return res.json()
def run_embedding(auth, dataset_id, payload=None, *, headers=HEADERS):
url = f"{HOST_ADDRESS}{DATASETS_API_URL}/{dataset_id}/embedding"
res = requests.post(url=url, headers=headers, auth=auth, json=payload)
return res.json()
def list_tags(auth, dataset_id, *, headers=HEADERS):
url = f"{HOST_ADDRESS}{DATASETS_API_URL}/{dataset_id}/tags"
res = requests.get(url=url, headers=headers, auth=auth)