llm.py
Source: sunholo/components/llm.py
Functions
llm_str_to_llm(llm_str, model=None, vector_name=None, config=None)
No docstring available.
get_embeddings(vector_name=None, config: sunholo.utils.config_class.ConfigManager = None)
No docstring available.
get_llm(vector_name=None, model=None, config=None)
No docstring available.
get_llm_chat(vector_name: str = None, model=None, config: sunholo.utils.config_class.ConfigManager = None)
No docstring available.
pick_embedding(llm_str: str, vector_name: str = None, config: sunholo.utils.config_class.ConfigManager = None)
No docstring available.
pick_llm(vector_name: str = None, config: sunholo.utils.config_class.ConfigManager = None)
No docstring available.
pick_streaming(vector_name)
No docstring available.