Skip to content

Commit b14741d

Browse files
committed
feat: update
1 parent 950697b commit b14741d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

aperag/api/components/schemas/collection.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ knowledgeGraphConfig:
116116
language:
117117
type: string
118118
description: Language for entity extraction and query responses
119-
default: "English"
120-
example: "English"
119+
default: "simplified chinese"
120+
example: "simplified chinese"
121121
entity_types:
122122
type: array
123123
items:
@@ -157,7 +157,7 @@ collectionConfig:
157157
allOf:
158158
- $ref: '#/knowledgeGraphConfig'
159159
default:
160-
language: "English"
160+
language: "simplified chinese"
161161
entity_types: ["organization", "person", "geo", "event", "product", "technology", "date", "category"]
162162
embedding:
163163
$ref: './model.yaml#/modelSpec'

aperag/schema/view_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# generated by datamodel-codegen:
1616
# filename: openapi.merged.yaml
17-
# timestamp: 2026-01-13T12:50:23+00:00
17+
# timestamp: 2026-01-29T03:34:01+00:00
1818

1919
from __future__ import annotations
2020

@@ -72,9 +72,9 @@ class KnowledgeGraphConfig(BaseModel):
7272
"""
7373

7474
language: Optional[str] = Field(
75-
'English',
75+
'simplified chinese',
7676
description='Language for entity extraction and query responses',
77-
examples=['English'],
77+
examples=['simplified chinese'],
7878
)
7979
entity_types: Optional[list[str]] = Field(
8080
[
@@ -114,7 +114,7 @@ class CollectionConfig(BaseModel):
114114
knowledge_graph_config: Optional[KnowledgeGraphConfig] = Field(
115115
default_factory=lambda: KnowledgeGraphConfig.model_validate(
116116
{
117-
'language': 'English',
117+
'language': 'simplified chinese',
118118
'entity_types': [
119119
'organization',
120120
'person',

web/src/api/openapi.merged.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4583,8 +4583,8 @@ components:
45834583
language:
45844584
type: string
45854585
description: Language for entity extraction and query responses
4586-
default: English
4587-
example: English
4586+
default: simplified chinese
4587+
example: simplified chinese
45884588
entity_types:
45894589
type: array
45904590
items:
@@ -4635,7 +4635,7 @@ components:
46354635
allOf:
46364636
- $ref: '#/components/schemas/knowledgeGraphConfig'
46374637
default:
4638-
language: English
4638+
language: simplified chinese
46394639
entity_types:
46404640
- organization
46414641
- person

0 commit comments

Comments
 (0)