Hello guys, is there a way to reference parameters...
# questions
b
Hello guys, is there a way to reference parameters from the catalog? (the same way it works with credentials) In my case I am running an experiment with langchain and I am loading the instance of the class that creates a chain using catalog (similar to how it is done in the
kedro_datasets_experimental
or how similar to how partitions datasets do). So I need to pass some credentials to initialize the langchain instance of the model (OpenAI for example) which I can do just fine. The problem is that I want to have model name inside the parameters too because I also use kedro-mlflow plugin which automatically logs parameters to the mlflow and I want the model name and probably other params (e.g. temperature) to be logged too.
h
hey @Bibo Bobo perhaps you can use global variables in this case, to be able to share across different configuration types, such as catalog and parameters. https://docs.kedro.org/en/stable/configuration/advanced_configuration.html#how-to-use-global-variables-with-the-omegaconfigloader
b
@Huong Nguyen Oh, maybe you are right, I didn't think of it. I will try, thank you!
np 1