Skip to main content

get_ai_search_chunks.py

Source: sunholo/discovery_engine/get_ai_search_chunks.py

Functions

async_get_all_chunks(question: str, config: sunholo.utils.config_class.ConfigManager)

Look through a config memory key and find all Vertex AI Search retrievers, call them and return a joined string of chunks

args: question - question to search similarity for config: A ConfigManager object

returns: a big string of chunks

get_all_chunks(question: str, config: sunholo.utils.config_class.ConfigManager)

Look through a config memory key and find all Vertex AI Search retrievers, call them and return a joined string of chunks

args: question - question to search similarity for config: A ConfigManager object

returns: a big string of chunks

async_get_chunks(question, vector_name, num_chunks)

No docstring available.

get_chunks(question, vector_name, num_chunks, project_id=None, serving_config=None)

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