Skip to main content

alloydb.py

Source: sunholo/database/alloydb.py

Functions

add_document_if_not_exists(doc, vector_name)

No docstring available.

_get_sources_from_docstore(sources, vector_name, search_type='OR')

No docstring available.

_list_sources_from_docstore(sources, vector_name, search_type='OR')

No docstring available.

and_or_ilike(sources: List[str], search_type: str = 'OR', operator: str = 'ILIKE')

No docstring available.

create_alloydb_engine(vector_name)

No docstring available.

create_alloydb_table(vector_name, engine, type='vectorstore', alloydb_config=None, username=None)

No docstring available.

create_docstore_table(table_name, alloydb_config, username)

No docstring available.

create_vectorstore_table(table_name, alloydb_config, username)

No docstring available.

delete_sources_from_alloydb(sources, vector_name)

Deletes from both vectorstore and docstore

get_sources_from_docstore(sources, vector_name, search_type='OR', just_source_name=False)

No docstring available.

get_sources_from_docstore_async(sources, vector_name, search_type='OR', just_source_name=False)

No docstring available.

load_alloydb_sql(sql, vector_name)

No docstring available.

load_alloydb_sql_async(sql, vector_name)

No docstring available.

Sunholo Multivac

Get in touch to see if we can help with your GenAI project.

Contact us

Other Links

Sunholo Multivac - GenAIOps

Copyright ©

Holosun ApS 2024