Refactor project structure: move prompts module to tasks directory and update references
This commit is contained in:
parent
46a6344c45
commit
9425db9b6c
|
|
@ -69,15 +69,12 @@ graph TD
|
|||
├── scripts/
|
||||
│ └── pipelines/
|
||||
│ ├── flows/ # Processing pipelines
|
||||
│ ├── tasks/ # Modules used by the flows
|
||||
│ └── inputs/ # Inputs used by the flows
|
||||
│ └── tasks/ # Modules used by the flows
|
||||
└── src/
|
||||
├── __init__.py
|
||||
├── config.py # Environment variables configuration file
|
||||
└── utils/
|
||||
├── emb_factory.py # Embedding model factory
|
||||
├── llm_factory.py # LLM model factory
|
||||
└── __init__.py
|
||||
└── llm_factory.py # LLM model factory
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ 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/input/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.
|
||||
- `synthethic_datasets`: folder containing generated synthethic datasets.
|
||||
- `src/config.py`: environment variables configuration file.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@ from botocore.config import Config
|
|||
from pathlib import Path
|
||||
from langchain_core.messages import SystemMessage, HumanMessage
|
||||
from src.utils.llm_factory import create_chat_model
|
||||
from src.config import RAW_DIR, INTERIM_DIR
|
||||
from scripts.pipelines.input.prompts import get_prompt_mbpp
|
||||
from scripts.pipelines.tasks.prompts import get_prompt_mbpp
|
||||
|
||||
|
||||
app = typer.Typer()
|
||||
|
|
|
|||
Loading…
Reference in New Issue