Skip to main content

No project description provided

Project description

Clients of Searchium cloud platform

FVS - is fast vector search

get more info https://www.searchium.ai/

supported methods
  • validate_allocation(self) -> bool
  • get_loaded_dataset(self) -> List[LoadedDataset]:
  • get_datasets -> List[Dataset]
  • delete_dataset(dataset_id: str) -> bool
  • load_dataset(self, dataset_id: str) -> bool
  • unload_dataset(self, dataset_id: str) -> bool
  • search(self, dataset_id: str, query: List[List[float]], topk: int = 5) -> SearchResponse
  • create_dataset(dataset_id: Optional[str] = None) -> CreateDatasetResponse
  • add_chunk(dataset_id: str, list_documents: List[dict]) -> Response
  • train_dataset(dataset_id: str) -> Response
  • train_status(dataset_id: str) -> TrainStatus
  • get_dataset(dataset_id: str) -> Dataset
  • delete_document(dataset_id: str, document_id: List[str] = None, delete_all: bool = False) -> ResponseDeleteDocument

example:

import searchium

searchium.init("your_allocation_id", "your_url")

dataset_id = 'your_dataset_uuid'

searchium.create_dataset(dataset_id)

searchium.add_chunk(dataset_id: str, [{"document_id": str=doc_id, "vector": List[float]=embedding, "metadata": dict=metadata}])

searchium.train_dataset(dataset_id)

searchium.load_dataset(dataset_id)

searchium.search(dataset_id: str, query: List[List[float]], topk: int = 5)

searchium.unload_dataset(dataset_id)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

searchium-0.0.1rc5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

searchium-0.0.1rc5-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file searchium-0.0.1rc5.tar.gz.

File metadata

  • Download URL: searchium-0.0.1rc5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for searchium-0.0.1rc5.tar.gz
Algorithm Hash digest
SHA256 5aed992b89b726d4c37d0dda469228ab094f4434d4ea9bef07b23de1d13d1b46
MD5 91bea9cd933b731bcfbb8c4f38d5f0cc
BLAKE2b-256 5a961e48498f15903f7aaaa1f6bd9c61d99dd353dc1f3a0ca5e89a9fc9dc4f2e

See more details on using hashes here.

File details

Details for the file searchium-0.0.1rc5-py3-none-any.whl.

File metadata

  • Download URL: searchium-0.0.1rc5-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for searchium-0.0.1rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 0944eee32d271ed298817a5b146d4d827d1efe4cee28116701c4677f7e3be431
MD5 f89f894d6c1a07e2c14866005f2f2fc9
BLAKE2b-256 460d2172f753fb82a68b55d80eb26ae3478b39ac004942f435cdc28ce34d99d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page