Closed GuGuskyastro closed 1 year ago
The template text in the utils file is now integrated into a yaml file https://github.com/GuGuskyastro/Scientific-conference-title-disambiguation-system-based-on-GPT-and-Wikidata/commit/fc0d262d17d52864e7f2983e62e6cbb0921e358a
https://github.com/GuGuskyastro/Scientific-conference-title-disambiguation-system-based-on-GPT-and-Wikidata/commit/39214f74c2891386934c51072f5c00d964a93c0f The template in the run function is also modified, now import from the template's yaml file.
https://github.com/GuGuskyastro/Scientific-conference-title-disambiguation-system-based-on-GPT-and-Wikidata/commit/ec781780df1bfec7094a4203e154c35f9540ac7b https://github.com/GuGuskyastro/Scientific-conference-title-disambiguation-system-based-on-GPT-and-Wikidata/commit/e5aad0a2d612c35d52958d4bbc5ea5ed5fd496ea Modified the reading method of yaml path
Currently, the prompt template text used to build the Agent is hard-coded in the code file. Try to replace it into yaml file for easy maintenance and modification, import it when needed.
Also include the base template in the main file.