mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
chatgpt interface scaffold
This commit is contained in:
parent
c887153292
commit
e23bcd7e13
2 changed files with 11 additions and 2 deletions
|
|
@ -49,6 +49,12 @@ Invoke `/ubiquitous-language` in any session to extract new terms from the conve
|
|||
| **New EPC API** | The replacement government API (`api.get-energy-performance-data.communities.gov.uk`) using Bearer token auth. | "new API", "current API" |
|
||||
| **Bearer Token** | The auth credential required by the new EPC API; stored in the `EPC_AUTH_TOKEN` environment variable. | "API key", "auth token", "secret" |
|
||||
|
||||
## Methodology
|
||||
|
||||
| Term | Definition | Aliases to avoid |
|
||||
|------|------------|------------------|
|
||||
| **DDD** | Domain-Driven Design — the design approach this glossary supports, modelling software around a shared domain language. | "domain design", "driven design" |
|
||||
|
||||
## Relationships
|
||||
|
||||
- An **EPC** belongs to exactly one **Dwelling** and has one **Certificate Number**.
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ from repositories.unstandardised_address.unstandardised_address_list_csv_s3_repo
|
|||
)
|
||||
from domain.addresses.unstandardised_address import AddressList
|
||||
|
||||
from infrastructure.epc.gov_uk import GovUkEpcClient
|
||||
|
||||
|
||||
def handler(
|
||||
body: dict[str, Any],
|
||||
|
|
@ -36,6 +34,11 @@ def handler(
|
|||
|
||||
addressList: AddressList = sal.get_unstandardised_addresses(input_s3_uri=s3_uri)
|
||||
|
||||
column_mapping = {
|
||||
# "Wall Description": "Walls",
|
||||
"Property Type": "Property Type",
|
||||
}
|
||||
|
||||
col_to_desc_map = sal.get_col_to_description_mappings(
|
||||
list_of_unstandardised_address=addressList
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue