autogluon / autogluon-rag

Retrieval-Augmented Generation in 3 Lines of Code!
https://auto.gluon.ai/rag/dev/index.html
Apache License 2.0
28 stars 7 forks source link

Missing config_file argument #46

Closed cheungdaven closed 3 months ago

cheungdaven commented 3 months ago

The config_file argument is missing when using config files as input.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

cheungdaven commented 3 months ago

_load_config

I encountered this issue when using config_file: TypeError: AutoGluonRAG._load_config() missing 1 required positional argument: 'config_file'

shreyash2106 commented 3 months ago

_load_config

I encountered this issue when using config_file: TypeError: AutoGluonRAG._load_config() missing 1 required positional argument: 'config_file'

Yeah we will have to remove the lines

if config_file:
       self._load_config()
elif self.preset_quality:
       self._load_preset()
cheungdaven commented 3 months ago

_load_config

I encountered this issue when using config_file: TypeError: AutoGluonRAG._load_config() missing 1 required positional argument: 'config_file'

Yeah we will have to remove the lines

if config_file:
       self._load_config()
elif self.preset_quality:
       self._load_preset()

removed