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

Uploaded Python 3

File details

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

File metadata

  • Download URL: searchium-0.0.1rc3.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.1rc3.tar.gz
Algorithm Hash digest
SHA256 44dd2a5909171f459250ae68531a85c78ba84802e8e337eddbe561098d5ca7b2
MD5 237eb6612d3d5b950be9b34ea0b767bf
BLAKE2b-256 fc5804282e896beab04da694678d5ee3a2e05d5739910472a909c4f7f719ef42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: searchium-0.0.1rc3-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.1rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4974976efe6fe354a406426bdaf7e77bf9f51a45d15e03d81cecfba1357eaa0
MD5 1da7267be21a1fdb94dbdb311f9bb2e7
BLAKE2b-256 1d5ee071e5329ddb2c4ef5a5377b7b6fcc88b2d690cb2f5f63ef4d17de196112

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