Introduction
Overview to MyScale and High performance vector search You can now register on our SaaS and start a cluster now! If you are also interested in how we managed to integrate SQL and vector, please refer to this document for further syntax reference. We also deliver with live demo on huggingface! Please checkout our huggingface space! They search millions of vector within a blink!Installation and Setup
- Install the Python SDK with
pip install clickhouse-connect
Setting up environments
There are two ways to set up parameters for myscale index.-
Environment Variables
Before you run the app, please set the environment variable with
export
:export MYSCALE_HOST='<your-endpoints-url>' MYSCALE_PORT=<your-endpoints-port> MYSCALE_USERNAME=<your-username> MYSCALE_PASSWORD=<your-password> ...
You can easily find your account, password and other info on our SaaS. For details please refer to this document Every attributes underMyScaleSettings
can be set with prefixMYSCALE_
and is case insensitive. -
Create
MyScaleSettings
object with parameters
Wrappers
supported functions:add_texts
add_documents
from_texts
from_documents
similarity_search
asimilarity_search
similarity_search_by_vector
asimilarity_search_by_vector
similarity_search_with_relevance_scores
delete