Skip to content

Commit 1f308ae

Browse files
committed
space selector and pre-RAG search with the space
1 parent d0cf1b2 commit 1f308ae

5 files changed

Lines changed: 259 additions & 134 deletions

File tree

reference/schema.json

Lines changed: 112 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,14 +3005,17 @@
30053005
},
30063006
"space": {
30073007
"nullable": true,
3008-
"oneOf": [
3009-
{
3010-
"type": "integer"
3011-
},
3012-
{
3013-
"$ref": "#/components/schemas/ItemsSpace"
3014-
}
3015-
]
3008+
"type": "array",
3009+
"items": {
3010+
"oneOf": [
3011+
{
3012+
"type": "integer"
3013+
},
3014+
{
3015+
"$ref": "#/components/schemas/ItemsOrbitCandidateSearchRequestSpace"
3016+
}
3017+
]
3018+
}
30163019
}
30173020
},
30183021
"x-collection": "orbit_candidate_search_request"
@@ -3341,7 +3344,7 @@
33413344
},
33423345
"x-collection": "orbit_job_search_result"
33433346
},
3344-
"ItemsOrbitJobSearchRequest": {
3347+
"ItemsSpace": {
33453348
"type": "object",
33463349
"properties": {
33473350
"id": {
@@ -3382,29 +3385,18 @@
33823385
"type": "string",
33833386
"format": "timestamp"
33843387
},
3385-
"candidate_profile_snapshot": {
3386-
"nullable": true
3387-
},
3388-
"status": {
3388+
"name": {
33893389
"nullable": true,
3390-
"description": "options: [\"pending\", \"processing\", \"completed\", \"failed\"]",
33913390
"type": "string"
33923391
},
3393-
"candidate_profile_enrichment_session": {
3392+
"description": {
33943393
"nullable": true,
3395-
"oneOf": [
3396-
{
3397-
"type": "integer"
3398-
},
3399-
{
3400-
"$ref": "#/components/schemas/ItemsOrbitCandidateProfileEnrichmentSession"
3401-
}
3402-
]
3394+
"type": "string"
34033395
}
34043396
},
3405-
"x-collection": "orbit_job_search_request"
3397+
"x-collection": "space"
34063398
},
3407-
"ItemsSpace": {
3399+
"ItemsOrbitCandidateProfileEnrichmentSession": {
34083400
"type": "object",
34093401
"properties": {
34103402
"id": {
@@ -3445,18 +3437,36 @@
34453437
"type": "string",
34463438
"format": "timestamp"
34473439
},
3448-
"name": {
3440+
"request": {
34493441
"nullable": true,
3450-
"type": "string"
3442+
"oneOf": [
3443+
{
3444+
"type": "integer"
3445+
},
3446+
{
3447+
"$ref": "#/components/schemas/ItemsOrbitCallRequest"
3448+
}
3449+
]
34513450
},
3452-
"description": {
3451+
"candidate_profile": {
3452+
"nullable": true,
3453+
"oneOf": [
3454+
{
3455+
"type": "integer"
3456+
},
3457+
{
3458+
"$ref": "#/components/schemas/ItemsCandidateProfile"
3459+
}
3460+
]
3461+
},
3462+
"public_key": {
34533463
"nullable": true,
34543464
"type": "string"
34553465
}
34563466
},
3457-
"x-collection": "space"
3467+
"x-collection": "orbit_candidate_profile_enrichment_session"
34583468
},
3459-
"ItemsOrbitCandidateProfileEnrichmentSession": {
3469+
"ItemsOrbitJobDescriptionEnrichmentSession": {
34603470
"type": "object",
34613471
"properties": {
34623472
"id": {
@@ -3508,14 +3518,14 @@
35083518
}
35093519
]
35103520
},
3511-
"candidate_profile": {
3521+
"job_description": {
35123522
"nullable": true,
35133523
"oneOf": [
35143524
{
35153525
"type": "integer"
35163526
},
35173527
{
3518-
"$ref": "#/components/schemas/ItemsCandidateProfile"
3528+
"$ref": "#/components/schemas/ItemsJobDescription"
35193529
}
35203530
]
35213531
},
@@ -3524,9 +3534,9 @@
35243534
"type": "string"
35253535
}
35263536
},
3527-
"x-collection": "orbit_candidate_profile_enrichment_session"
3537+
"x-collection": "orbit_job_description_enrichment_session"
35283538
},
3529-
"ItemsOrbitJobDescriptionEnrichmentSession": {
3539+
"ItemsSpaceUser": {
35303540
"type": "object",
35313541
"properties": {
35323542
"id": {
@@ -3567,36 +3577,37 @@
35673577
"type": "string",
35683578
"format": "timestamp"
35693579
},
3570-
"request": {
3580+
"space": {
35713581
"nullable": true,
35723582
"oneOf": [
35733583
{
35743584
"type": "integer"
35753585
},
35763586
{
3577-
"$ref": "#/components/schemas/ItemsOrbitCallRequest"
3587+
"$ref": "#/components/schemas/ItemsSpace"
35783588
}
35793589
]
35803590
},
3581-
"job_description": {
3591+
"user": {
35823592
"nullable": true,
35833593
"oneOf": [
35843594
{
3585-
"type": "integer"
3595+
"type": "string",
3596+
"format": "uuid"
35863597
},
35873598
{
3588-
"$ref": "#/components/schemas/ItemsJobDescription"
3599+
"$ref": "#/components/schemas/Users"
35893600
}
35903601
]
35913602
},
3592-
"public_key": {
3603+
"permission": {
35933604
"nullable": true,
3594-
"type": "string"
3605+
"description": "options include: [\"read\", \"write\", \"delete\", \"admin\"]"
35953606
}
35963607
},
3597-
"x-collection": "orbit_job_description_enrichment_session"
3608+
"x-collection": "space_user"
35983609
},
3599-
"ItemsSpaceUser": {
3610+
"ItemsSpaceItem": {
36003611
"type": "object",
36013612
"properties": {
36023613
"id": {
@@ -3648,26 +3659,18 @@
36483659
}
36493660
]
36503661
},
3651-
"user": {
3662+
"item_type": {
36523663
"nullable": true,
3653-
"oneOf": [
3654-
{
3655-
"type": "string",
3656-
"format": "uuid"
3657-
},
3658-
{
3659-
"$ref": "#/components/schemas/Users"
3660-
}
3661-
]
3664+
"type": "string"
36623665
},
3663-
"permission": {
3666+
"item_id": {
36643667
"nullable": true,
3665-
"description": "options include: [\"read\", \"write\", \"delete\", \"admin\"]"
3668+
"type": "integer"
36663669
}
36673670
},
3668-
"x-collection": "space_user"
3671+
"x-collection": "space_item"
36693672
},
3670-
"ItemsSpaceItem": {
3673+
"ItemsOrbitJobSearchRequest": {
36713674
"type": "object",
36723675
"properties": {
36733676
"id": {
@@ -3708,27 +3711,38 @@
37083711
"type": "string",
37093712
"format": "timestamp"
37103713
},
3711-
"space": {
3714+
"candidate_profile_snapshot": {
3715+
"nullable": true
3716+
},
3717+
"status": {
3718+
"nullable": true,
3719+
"description": "options: [\"pending\", \"processing\", \"completed\", \"failed\"]",
3720+
"type": "string"
3721+
},
3722+
"candidate_profile_enrichment_session": {
37123723
"nullable": true,
37133724
"oneOf": [
37143725
{
37153726
"type": "integer"
37163727
},
37173728
{
3718-
"$ref": "#/components/schemas/ItemsSpace"
3729+
"$ref": "#/components/schemas/ItemsOrbitCandidateProfileEnrichmentSession"
37193730
}
37203731
]
37213732
},
3722-
"item_type": {
3723-
"nullable": true,
3724-
"type": "string"
3725-
},
3726-
"item_id": {
3733+
"space": {
37273734
"nullable": true,
3728-
"type": "integer"
3735+
"oneOf": [
3736+
{
3737+
"type": "integer"
3738+
},
3739+
{
3740+
"$ref": "#/components/schemas/ItemsSpace"
3741+
}
3742+
]
37293743
}
37303744
},
3731-
"x-collection": "space_item"
3745+
"x-collection": "orbit_job_search_request"
37323746
},
37333747
"ItemsCandidateProfile": {
37343748
"type": "object",
@@ -3917,5 +3931,37 @@
39173931
}
39183932
},
39193933
"x-collection": "generic_request"
3934+
},
3935+
"ItemsOrbitCandidateSearchRequestSpace": {
3936+
"type": "object",
3937+
"properties": {
3938+
"id": {
3939+
"nullable": false,
3940+
"type": "integer"
3941+
},
3942+
"orbit_candidate_search_request_id": {
3943+
"nullable": true,
3944+
"oneOf": [
3945+
{
3946+
"type": "integer"
3947+
},
3948+
{
3949+
"$ref": "#/components/schemas/ItemsOrbitCandidateSearchRequest"
3950+
}
3951+
]
3952+
},
3953+
"space_id": {
3954+
"nullable": true,
3955+
"oneOf": [
3956+
{
3957+
"type": "integer"
3958+
},
3959+
{
3960+
"$ref": "#/components/schemas/ItemsSpace"
3961+
}
3962+
]
3963+
}
3964+
},
3965+
"x-collection": "orbit_candidate_search_request_space"
39203966
}
39213967
}

0 commit comments

Comments
 (0)