[WIP] remove zod and use actual schema
This commit is contained in:
15
README.md
15
README.md
@@ -22,6 +22,7 @@ This is a **Proof of Concept (PoC)** that demonstrates the conversion of natural
|
||||
## Installation
|
||||
|
||||
1. Install dependencies:
|
||||
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
@@ -63,14 +64,8 @@ The PoC generates ODMDB queries in this format:
|
||||
```json
|
||||
{
|
||||
"object": "seekers",
|
||||
"condition": [
|
||||
"prop.dt_create(>=:2025-10-06)"
|
||||
],
|
||||
"fields": [
|
||||
"alias",
|
||||
"email",
|
||||
"seekworkingyear"
|
||||
]
|
||||
"condition": ["prop.dt_create(>=:2025-10-06)"],
|
||||
"fields": ["alias", "email", "seekworkingyear"]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -85,6 +80,7 @@ The PoC understands and generates these ODMDB DSL patterns:
|
||||
## Field Mappings
|
||||
|
||||
Currently supports mapping for seekers object:
|
||||
|
||||
- `email` → `email`
|
||||
- `experience` → `seekworkingyear`
|
||||
- `job titles` → `seekjobtitleexperience`
|
||||
@@ -93,6 +89,7 @@ Currently supports mapping for seekers object:
|
||||
## Schema Context
|
||||
|
||||
The PoC can optionally load schema files for context:
|
||||
|
||||
- `main.json` - Combined schema definitions
|
||||
- `lg.json` - Localization/language mappings
|
||||
|
||||
@@ -116,4 +113,4 @@ The PoC can optionally load schema files for context:
|
||||
- `poc.js` - Main PoC implementation
|
||||
- `package.json` - Dependencies and scripts
|
||||
- `main.json` - Optional schema context (if available)
|
||||
- `lg.json` - Optional localization context (if available)
|
||||
- `lg.json` - Optional localization context (if available)
|
||||
|
Reference in New Issue
Block a user