UPDATE
This commit is contained in:
@@ -58,3 +58,12 @@ class IrrigationConfig(AppConfig):
|
||||
|
||||
def get_water_stress_service(self):
|
||||
return self.water_stress_service
|
||||
|
||||
@cached_property
|
||||
def free_text_plan_parser_service(self):
|
||||
from rag.services.irrigation_plan_parser import IrrigationPlanParserService
|
||||
|
||||
return IrrigationPlanParserService()
|
||||
|
||||
def get_free_text_plan_parser_service(self):
|
||||
return self.free_text_plan_parser_service
|
||||
|
||||
Reference in New Issue
Block a user