Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ functions
Functions
1,701 in github.com/cosdata/cosdata
⨍
Functions
1,701
◇
Types & classes
375
↳
Endpoints
1
↓ 1 callers
Function
parse_query
(input: &str)
src/cosql/query.rs:18
↓ 1 callers
Function
parse_relationship_definition
(input: &str)
src/cosql/definition/relationship.rs:55
↓ 1 callers
Function
parse_relationship_inference
(input: &str)
src/cosql/inference/relationship.rs:21
↓ 1 callers
Function
parse_relationship_insertion
(input: &str)
src/cosql/insertion/relationship.rs:24
↓ 1 callers
Function
parse_relationship_pattern
(input: &str)
src/cosql/pattern/relationship.rs:60
↓ 1 callers
Function
parse_role
(input: &str)
src/cosql/pattern/relationship.rs:31
↓ 1 callers
Function
parse_role_definition
(input: &str)
src/cosql/definition/relationship.rs:45
↓ 1 callers
Function
parse_role_definitions1
(input: &str)
src/cosql/definition/relationship.rs:37
↓ 1 callers
Function
parse_roles1
(input: &str)
src/cosql/pattern/relationship.rs:44
↓ 1 callers
Function
parse_rule
(input: &str)
src/cosql/rule.rs:32
↓ 1 callers
Function
parse_value
(input: &str)
src/cosql/value.rs:40
↓ 1 callers
Function
perturb_vector
(vector, perturbation_degree)
tests/rps-test.py:190
↓ 1 callers
Function
perturb_vector
( vector: &SparseVector, perturbation_degree: f32, start_id: usize, )
tests/benches/sparse_ann_query_benchmark.rs:51
↓ 1 callers
Function
poll_transaction_completion
Poll transaction status until it reaches the target status or max attempts are exceeded. Args: client: The cosdata client instan
tests/utils.py:12
↓ 1 callers
Function
power_of_4_with_index
(x: u32)
org/src/version_tree.rs:17
↓ 1 callers
Function
prepare_dataset
Download and prepare a dataset
tests/test-dataset-streaming.py:202
↓ 1 callers
Function
prepare_dataset
Download and prepare a dataset
tests/test-dataset.py:191
↓ 1 callers
Function
prepare_glove_dataset
Prepare GloVe dataset by converting it to parquet format with chunking
tests/test-dataset-streaming.py:154
↓ 1 callers
Function
prepare_glove_dataset
Prepare GloVe dataset by converting it to parquet format with chunking
tests/test-dataset.py:142
↓ 1 callers
Function
prepare_huggingface_dataset
Download and prepare a dataset from Hugging Face
tests/test-dataset-streaming.py:215
↓ 1 callers
Function
prepare_huggingface_dataset
Download and prepare a dataset from Hugging Face
tests/test-dataset.py:205
↓ 1 callers
Function
preprocess_corpus
( corpus: Dict[str, Dict[str, str]], )
tests/test-tf-idf-ndcg.py:218
↓ 1 callers
Function
preprocess_embedding
Converts raw embeddings into `IndexableEmbedding` i.e. ready to be indexed - with quantization performed and property values and metadata fields conve
src/vector_store.rs:629
↓ 1 callers
Method
print_graph
(&self, depth: usize)
org/src/version_tree.rs:70
↓ 1 callers
Function
print_node
(node: &Node)
org/src/viewer.rs:255
↓ 1 callers
Method
print_structure
(&self, indent: usize)
org/src/cluster_hierarchy.rs:287
↓ 1 callers
Function
prob
(percent)
tests/test_metadata_filters.py:119
↓ 1 callers
Method
probabilistic_update
( &self, name: &str, probability: f32, )
src/models/collection_cache.rs:177
↓ 1 callers
Function
process_parquet_files
Process parquet files asynchronously and upsert vectors to the server. Collects random samples of vectors for testing purposes.
tests/test-dataset-streaming.py:559
↓ 1 callers
Function
process_parquet_files
Process parquet files asynchronously and upsert vectors to the server. Collects random samples of vectors for testing purposes.
tests/test-dataset.py:545
↓ 1 callers
Function
process_vectors_batch
Process a batch of vectors and insert them into the database
tests/test-dataset-streaming.py:544
↓ 1 callers
Function
process_vectors_batch
Process a batch of vectors and insert them into the database
tests/test-dataset.py:529
↓ 1 callers
Function
prompt_and_get_dataset_metadata
()
tests/test-dataset-streaming.py:297
↓ 1 callers
Function
prompt_and_get_dataset_metadata
()
tests/test-dataset.py:289
↓ 1 callers
Function
prop_metadata_replicas
Returns a vector of `NodePropMetadata` instances based on the collection `schema` and `metadata_fields` as per the following cases: - If both `schema
src/vector_store.rs:521
↓ 1 callers
Function
pseudo_metadata_replicas
( schema: &MetadataSchema, prop_file: &RwLock<File>, base_id: &InternalId, )
src/vector_store.rs:587
↓ 1 callers
Method
pseudo_root_vec_ptr_offset
Returns FileIndex (offset) corresponding to the pseudo root node.
src/indexes/hnsw/mod.rs:156
↓ 1 callers
Method
pseudo_weighted_dimensions
Computes all pseudo dimensions
src/metadata/schema.rs:428
↓ 1 callers
Method
push
(&mut self, version: VersionNumber, value: T)
src/models/versioned_vec.rs:117
↓ 1 callers
Method
push_sorted
(&mut self, version: VersionNumber, value: (u32, f32))
src/models/versioned_vec.rs:208
↓ 1 callers
Function
quantize_to_u8_bits
(fins: &[f32], resolution: u8)
src/models/common.rs:238
↓ 1 callers
Function
quaternary_weighted_simd_avx2
(data: *const u8, n: usize, lookup: &[u8; 32])
src/models/dot_product/x86_64.rs:215
↓ 1 callers
Function
random_bytes
()
src/models/crypto.rs:166
↓ 1 callers
Function
random_raw_vector_embedding
(rng: &mut impl Rng)
src/models/serializer/tree_map/tests.rs:92
↓ 1 callers
Function
raw_term_frequencies
(tokens: List[str])
tests/test-tf-idf-bm25.py:112
↓ 1 callers
Function
read_dataset_from_parquet
(dataset_name, ids, num_rps_test_vectors)
tests/test-query.py:21
↓ 1 callers
Function
read_neighbors
( reader: &mut impl Read, latest_version_file: &mut File, dir: &Path, )
org/src/viewer.rs:135
↓ 1 callers
Function
read_node
(file: &mut File, latest_version_file: &mut File, dir: &Path)
org/src/viewer.rs:191
↓ 1 callers
Function
read_prop_metadata_from_file
( (offset, bytes_to_read): (FileOffset, BytesToRead), file: &mut File, )
src/models/file_persist.rs:141
↓ 1 callers
Function
read_prop_value_from_file
( (offset, bytes_to_read): (FileOffset, BytesToRead), file: &mut File, )
src/models/file_persist.rs:92
↓ 1 callers
Method
record_query_batch
(self, batch_size, batch_duration, failed_count=0)
tests/test_hybrid.py:162
↓ 1 callers
Function
reflection_service
()
src/grpc/server.rs:14
↓ 1 callers
Method
remap_search_results
( &self, collection: &Collection, results: Vec<InternalSearchResult>, return_r
src/indexes/mod.rs:217
↓ 1 callers
Method
remove_collection
(&self, name: &str)
src/models/types.rs:1413
↓ 1 callers
Function
remove_duplicates_and_filter
( _hnsw_index: &HNSWIndex, vec: Vec<(SharedLatestNode, MetricResult)>, k: Option<usize>, cache
src/models/common.rs:381
↓ 1 callers
Method
remove_hnsw_index
(&self, name: &str)
src/models/types.rs:1362
↓ 1 callers
Method
remove_inverted_index
( &self, name: &str, )
src/models/types.rs:1375
↓ 1 callers
Method
remove_key
Removes all instances of the specified key from the eviction index.
src/models/lru_cache.rs:89
↓ 1 callers
Method
remove_neighbor_by_index_and_id
(&self, index: u8, id: InternalId)
src/models/prob_node.rs:315
↓ 1 callers
Function
remove_non_alphanumeric
(text: str)
tests/test-tf-idf-bm25.py:100
↓ 1 callers
Method
remove_tf_idf_index
( &self, name: &str, )
src/models/types.rs:1391
↓ 1 callers
Function
retrieve_average_document_length
(lmdb: &MetaDb)
src/models/meta_persist.rs:252
↓ 1 callers
Function
retrieve_background_version
retrieves the current version of a collection
src/models/meta_persist.rs:154
↓ 1 callers
Function
retrieve_current_version
retrieves the current version of a collection
src/models/meta_persist.rs:128
↓ 1 callers
Function
retrieve_highest_internal_id
(lmdb: &MetaDb)
src/models/meta_persist.rs:276
↓ 1 callers
Function
retrieve_usv_values_upper_bound
(lmdb: &MetaDb)
src/models/meta_persist.rs:228
↓ 1 callers
Function
retrieve_values_range
(lmdb: &MetaDb)
src/models/meta_persist.rs:179
↓ 1 callers
Function
retrieve_values_upper_bound
(lmdb: &MetaDb)
src/models/meta_persist.rs:204
↓ 1 callers
Method
root_node_kind
Returns the kind of root node that this embedding must be indexed under
src/vector_store.rs:480
↓ 1 callers
Method
root_vec_ptr_offset
Returns FileIndex (offset) corresponding to the root node.
src/indexes/hnsw/mod.rs:151
↓ 1 callers
Function
run_actix_server_with_context
(ctx: Data<AppContext>)
src/web_server.rs:26
↓ 1 callers
Function
run_all_tests
Run all gRPC tests
tests/test-grpc.py:184
↓ 1 callers
Function
run_latency_test
(collection, queries: List[str], top_k: int)
tests/test-tf-idf-ndcg.py:264
↓ 1 callers
Function
run_latency_test
(collection, query_vectors, top_k)
tests/test-tf-idf-bm25.py:773
↓ 1 callers
Function
run_matching_tests
Run matching accuracy tests and measure query latencies
tests/test-dataset-streaming.py:701
↓ 1 callers
Function
run_matching_tests
Run matching accuracy tests and measure query latencies
tests/test-dataset.py:695
↓ 1 callers
Function
run_qps_latency
( dense_query_vectors: np.ndarray, text_queries: List[str], collection, top_k: int, )
tests/test_hybrid.py:984
↓ 1 callers
Function
run_qps_test
( collection, qps_queries: List[str], batch_size: int, top_k: int )
tests/test-tf-idf-ndcg.py:224
↓ 1 callers
Function
run_qps_tests
Run QPS (Queries Per Second) tests using optimized batch search
tests/test-tf-idf-bm25.py:688
↓ 1 callers
Function
run_rps_tests
Run RPS (Requests Per Second) tests
tests/test-dataset-streaming.py:776
↓ 1 callers
Function
run_rps_tests
Run RPS (Requests Per Second) tests
tests/test-dataset.py:774
↓ 1 callers
Function
run_rps_tests
Run RPS (Requests Per Second) tests
tests/test-sparse-vector.py:425
↓ 1 callers
Function
run_rps_tests
Run RPS (Requests Per Second) tests
tests/test-usv.py:434
↓ 1 callers
Function
run_tests_pp
project and partition
org/src/project_and_partition.rs:273
↓ 1 callers
Method
sample_embedding
(&self, embedding: &Self::IndexingInput)
src/indexes/usv.rs:147
↓ 1 callers
Method
sample_embeddings
( &self, lmdb: &MetaDb, sample_embeddings: Vec<Self::IndexingInput>, config: &
src/indexes/mod.rs:87
↓ 1 callers
Method
sample_threshold
(&self)
src/indexes/usv.rs:256
↓ 1 callers
Function
save_comprehensive_results
( dataset: str, corpus_size: int, queries_size: int, qrels_size: int, avg_query_len: float
tests/test_hybrid.py:1037
↓ 1 callers
Function
search_and_compare
(vector_db_name, test_cases)
tests/test_metadata_filters.py:322
↓ 1 callers
Method
search_bm25
( self, index: &TFIDFIndexRoot, k: Option<usize>, )
src/models/sparse_ann_query.rs:234
↓ 1 callers
Function
search_dataset_vectors
(query_id, query_emb)
tests/test_multiple_datasets.py:220
↓ 1 callers
Function
search_documents
( collection, queries: List[Tuple[str, str]], top_k: int, )
tests/test-tf-idf-ndcg.py:192
↓ 1 callers
Method
search_internal
( &self, collection: &Collection, query: Self::SearchInput, options: &Self::Se
src/indexes/usv.rs:277
↓ 1 callers
Function
search_module
()
src/api/vectordb/search/mod.rs:14
↓ 1 callers
Method
search_recursive
(&self, query: &Vector, k: usize, results: &mut BinaryHeap<SearchResult>)
org/src/cluster_hierarchy.rs:254
↓ 1 callers
Method
search_recursive_with_branching
( &self, query: &Vector, k: usize, results: &mut BinaryHeap<SearchResult>,
org/src/cluster_hierarchy.rs:174
↓ 1 callers
Function
search_sparse_vector
Search using sparse vector with cosdata client
tests/test-sparse-vector.py:99
↓ 1 callers
Function
search_sparse_vector
Search sparse vector
tests/test-usv.py:114
↓ 1 callers
Function
search_sparse_vector
Search using TF-IDF with cosdata client
tests/test-tf-idf-bm25.py:520
↓ 1 callers
Function
select_query_vectors
Select random query vectors from the dataset
tests/test-sparse-vector.py:172
← previous
next →
701–800 of 1,701, ranked by callers