Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Clients of Searchium cloud platform

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)

Release files for searchium 0.0.1rc5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for searchium 0.0.1rc5
File Size Uploaded
searchium-0.0.1rc5.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for searchium 0.0.1rc5
File Interpreter ABI Platform
searchium-0.0.1rc5-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / searchium-0.0.1rc5.tar.gz

Download URL searchium-0.0.1rc5.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5aed992b89b726d4c37d0dda469228ab094f4434d4ea9bef07b23de1d13d1b46
BLAKE2b-256 checksum
How to use checksums
5a961e48498f15903f7aaaa1f6bd9c61d99dd353dc1f3a0ca5e89a9fc9dc4f2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / searchium-0.0.1rc5-py3-none-any.whl

Download URL searchium-0.0.1rc5-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0944eee32d271ed298817a5b146d4d827d1efe4cee28116701c4677f7e3be431
BLAKE2b-256 checksum
How to use checksums
460d2172f753fb82a68b55d80eb26ae3478b39ac004942f435cdc28ce34d99d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page