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.1rc4.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.1rc4-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: searchium-0.0.1rc4.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.1rc4.tar.gz
Algorithm Hash digest
SHA256 a7e7650997651ee621823b0e7f47a18f9bf158525d7a1d9eb265676cbd5e13f3
MD5 1a457c5346014ed95c249d7038734a23
BLAKE2b-256 101cb5786490bce5f4d2649fdf3eb3e22434163ed56b8d9c952f130959c2bb42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: searchium-0.0.1rc4-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.1rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 e0bfdd78c0d3f4271e1504c1afbbf33a78810660648e12569426432479f56bf9
MD5 fae8d32373ea0063d7995b2cee29cff8
BLAKE2b-256 f3d526a1c51f595485fba68d15ecbd2aab317ce759b8abf73a66b5c14da4fd29

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