mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-12-30 00:38:53 +00:00
bugfix
This commit is contained in:
parent
d49671be36
commit
38be46a698
@ -62,7 +62,7 @@ class LLMBasedExtractor(SPGExtractor):
|
||||
params["prompt_config"] = json.dumps([api_client.sanitize_for_serialization(op.to_rest()) for op in self.prompt_ops])
|
||||
from knext.operator.builtin.online_runner import _BuiltInOnlineExtractor
|
||||
extract_op = _BuiltInOnlineExtractor(params)
|
||||
config = rest.ExtractNodeConfig(
|
||||
config = rest.UserDefinedExtractNodeConfig(
|
||||
output_fields=self.output_fields, operator_config=extract_op.to_rest()
|
||||
)
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[local]
|
||||
project_name = Medical1
|
||||
description = Medical1
|
||||
project_id = 3
|
||||
project_id = 2
|
||||
namespace = Medical1
|
||||
project_dir = medical1
|
||||
schema_dir = schema
|
||||
|
||||
@ -17,8 +17,8 @@ class Medical1:
|
||||
description = "description"
|
||||
id = "id"
|
||||
name = "name"
|
||||
alias = "alias"
|
||||
stdId = "stdId"
|
||||
alias = "alias"
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
@ -28,11 +28,11 @@ class Medical1:
|
||||
description = "description"
|
||||
id = "id"
|
||||
name = "name"
|
||||
complication = "complication"
|
||||
department = "department"
|
||||
applicableDrug = "applicableDrug"
|
||||
diseaseSite = "diseaseSite"
|
||||
complication = "complication"
|
||||
applicableDrug = "applicableDrug"
|
||||
commonSymptom = "commonSymptom"
|
||||
department = "department"
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
@ -51,8 +51,8 @@ class Medical1:
|
||||
description = "description"
|
||||
id = "id"
|
||||
name = "name"
|
||||
stdId = "stdId"
|
||||
alias = "alias"
|
||||
stdId = "stdId"
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user