📝 docs(config.yaml): add documentation link for MultiQueryRetriever
🔧 chore(settings.py): add retrievers attribute to Settings class
The config.yaml file now includes a documentation link for the MultiQueryRetriever in the retrievers section. This link provides additional information on how to use the MultiQueryRetriever. In the settings.py file, the Settings class now includes a retrievers attribute to store retriever-related settings. This allows for easier management and configuration of retrievers in the application.
This commit is contained in:
parent
c9f8a27983
commit
8a28fdf497
2 changed files with 9 additions and 0 deletions
|
|
@ -230,6 +230,9 @@ utilities:
|
||||||
documentation: ""
|
documentation: ""
|
||||||
WolframAlphaAPIWrapper:
|
WolframAlphaAPIWrapper:
|
||||||
documentation: ""
|
documentation: ""
|
||||||
|
retrievers:
|
||||||
|
MultiQueryRetriever:
|
||||||
|
documentation: "https://python.langchain.com/docs/modules/data_connection/retrievers/how_to/MultiQueryRetriever"
|
||||||
vectorstores:
|
vectorstores:
|
||||||
Chroma:
|
Chroma:
|
||||||
documentation: "https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/chroma"
|
documentation: "https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/chroma"
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ class Settings(BaseSettings):
|
||||||
vectorstores: dict = {}
|
vectorstores: dict = {}
|
||||||
documentloaders: dict = {}
|
documentloaders: dict = {}
|
||||||
wrappers: dict = {}
|
wrappers: dict = {}
|
||||||
|
retrievers: dict = {}
|
||||||
toolkits: dict = {}
|
toolkits: dict = {}
|
||||||
textsplitters: dict = {}
|
textsplitters: dict = {}
|
||||||
utilities: dict = {}
|
utilities: dict = {}
|
||||||
|
|
@ -47,6 +48,11 @@ class Settings(BaseSettings):
|
||||||
self.toolkits = new_settings.toolkits or {}
|
self.toolkits = new_settings.toolkits or {}
|
||||||
self.textsplitters = new_settings.textsplitters or {}
|
self.textsplitters = new_settings.textsplitters or {}
|
||||||
self.utilities = new_settings.utilities or {}
|
self.utilities = new_settings.utilities or {}
|
||||||
|
self.embeddings = new_settings.embeddings or {}
|
||||||
|
self.vectorstores = new_settings.vectorstores or {}
|
||||||
|
self.documentloaders = new_settings.documentloaders or {}
|
||||||
|
self.retrievers = new_settings.retrievers or {}
|
||||||
|
|
||||||
self.dev = dev
|
self.dev = dev
|
||||||
|
|
||||||
def update_settings(self, **kwargs):
|
def update_settings(self, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue