docs: correct spelling errors in changelog and update project root method name in Settings class
This commit is contained in:
parent
4fce9c9a98
commit
2493723f8b
|
|
@ -8,10 +8,10 @@ All notable changes to the **Brunix Assistance Engine** will be documented in th
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- IMPLEMENTED:
|
- IMPLEMENTED:
|
||||||
- `scripts/pipelines/flows/translate_mbpp.py`: pipeline to generate synthethic dataset from mbpp dataset.
|
- `scripts/pipelines/flows/translate_mbpp.py`: pipeline to generate synthetic dataset from mbpp dataset.
|
||||||
- `scripts/tasks/prompts.py`: module containing prompts for pipelines.
|
- `scripts/tasks/prompts.py`: module containing prompts for pipelines.
|
||||||
- `scripts/tasks/chunk.py`: module containing functions related to chunk management.
|
- `scripts/tasks/chunk.py`: module containing functions related to chunk management.
|
||||||
- `synthethic_datasets`: folder containing generated synthethic datasets.
|
- `synthetic_datasets`: folder containing generated synthetic datasets.
|
||||||
- `src/config.py`: environment variables configuration file.
|
- `src/config.py`: environment variables configuration file.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
||||||
|
|
@ -33,13 +33,13 @@ class Settings(BaseSettings):
|
||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def project_root(self) -> Path:
|
def proj_root(self) -> Path:
|
||||||
return Path(__file__).resolve().parents[1]
|
return Path(__file__).resolve().parents[1]
|
||||||
|
|
||||||
def _resolve_path(self, path: Optional[str]) -> Optional[Path]:
|
def _resolve_path(self, path: Optional[str]) -> Optional[Path]:
|
||||||
if path is None:
|
if path is None:
|
||||||
return None
|
return None
|
||||||
return self.project_root / path
|
return self.proj_root / path
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def data_path(self) -> Optional[Path]:
|
def data_path(self) -> Optional[Path]:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue