Merge branch 'mrh-online-dev' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev
This commit is contained in:
commit
8aa12bd8eb
|
|
@ -1,6 +1,8 @@
|
|||
import logging
|
||||
import os
|
||||
from concurrent import futures
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
import brunix_pb2
|
||||
import brunix_pb2_grpc
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ All notable changes to the **Brunix Assistance Engine** will be documented in th
|
|||
|
||||
### Added
|
||||
- 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/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.
|
||||
|
||||
### Changed
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ class Settings(BaseSettings):
|
|||
postgres_url: str
|
||||
elasticsearch_url: str
|
||||
elasticsearch_local_url: str
|
||||
elasticsearch_index: str
|
||||
ollama_url: str
|
||||
ollama_local_url: str
|
||||
ollama_model_name: str
|
||||
|
|
@ -33,13 +34,13 @@ class Settings(BaseSettings):
|
|||
)
|
||||
|
||||
@property
|
||||
def project_root(self) -> Path:
|
||||
def proj_root(self) -> Path:
|
||||
return Path(__file__).resolve().parents[1]
|
||||
|
||||
def _resolve_path(self, path: Optional[str]) -> Optional[Path]:
|
||||
if path is None:
|
||||
return None
|
||||
return self.project_root / path
|
||||
return self.proj_root / path
|
||||
|
||||
@property
|
||||
def data_path(self) -> Optional[Path]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue