Clean Versions
Browse filesFiles changed (2)
- ChromaDBFlow.py+8-1
- ChromaDBFlow.yaml+2-3
36 unmodified lines3738394041424336 unmodified linesdefault parameters of LiteLLMBackend (see aiflows.backends.LiteLLMBackend). Except for the following parameter whose default value is overwritten:- `api_infos` (List[Dict[str, Any]]): The list of api infos. Default: No default value, this parameter is required.- `model_name` (str): The name of the model. Default: "". In the current implementation, this parameter is not used.- `n_results` (int): The number of results to retrieve when reading from the database. Default: 5- Other parameters are inherited from the default configuration of AtomicFlow (see AtomicFlow)*Input Interface*:36 unmodified lines373839404142434445464748495036 unmodified linesdefault parameters of LiteLLMBackend (see aiflows.backends.LiteLLMBackend). Except for the following parameter whose default value is overwritten:- `api_infos` (List[Dict[str, Any]]): The list of api infos. Default: No default value, this parameter is required.- `model_name` (str): The name of the model. Default: "". In the current implementation, this parameter is not used.- `similarity_search_kwargs` (Dict[str, Any]): The parameters to pass to the similarity search method of the ChromaDB. Default:- `k` (int): The number of documents to retrieve. Default: 2- `filter` (str): The filter to apply to the documents. Default: null- `paths_to_data` (List[str]): The paths to the data to store in the database at instantiation. Default: []- `chunk_size` (int): The size of the chunks to split the documents into. Default: 700- `chunk_overlap` (int): The overlap between the chunks. Default: 0- `persist_directory` (str): The directory to persist the database. Default: "./demo_db_dir"- Other parameters are inherited from the default configuration of AtomicFlow (see AtomicFlow)*Input Interface*:
12 unmodified lines131415161718192012 unmodified lines- contentoutput_interface:- retrievedpaths_to_data:- ./data/paul_graham_essay.txtchunk_size: 300chunk_overlap: 0persist_directory: ./demo_db_dir12 unmodified lines1314151617181912 unmodified lines- contentoutput_interface:- retrievedpaths_to_data: []chunk_size: 700chunk_overlap: 0persist_directory: ./demo_db_dir
ChromaDBFlow.py+8-1
ChromaDBFlow.yaml+2-3