Upload dify_CECs_annotating.yml
Browse filesYou can directly import the dify_CECs_annotating.yml file, which contains workflow information, into the Dify platform without the need to manually create the workflow.
- dify_CECs_annotating.yml +1343 -0
dify_CECs_annotating.yml
ADDED
|
@@ -0,0 +1,1343 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
| 1 |
+
app:
|
| 2 |
+
description: ''
|
| 3 |
+
icon: 🤖
|
| 4 |
+
icon_background: '#FFEAD5'
|
| 5 |
+
mode: advanced-chat
|
| 6 |
+
name: CECs_annotating
|
| 7 |
+
use_icon_as_answer_icon: false
|
| 8 |
+
dependencies:
|
| 9 |
+
- current_identifier: null
|
| 10 |
+
type: marketplace
|
| 11 |
+
value:
|
| 12 |
+
marketplace_plugin_unique_identifier: langgenius/openai:0.2.6@e2665624a156f52160927bceac9e169bd7e5ae6b936ae82575e14c90af390e6e
|
| 13 |
+
version: null
|
| 14 |
+
kind: app
|
| 15 |
+
version: 0.4.0
|
| 16 |
+
workflow:
|
| 17 |
+
conversation_variables: []
|
| 18 |
+
environment_variables: []
|
| 19 |
+
features:
|
| 20 |
+
file_upload:
|
| 21 |
+
allowed_file_extensions:
|
| 22 |
+
- .JPG
|
| 23 |
+
- .JPEG
|
| 24 |
+
- .PNG
|
| 25 |
+
- .GIF
|
| 26 |
+
- .WEBP
|
| 27 |
+
- .SVG
|
| 28 |
+
allowed_file_types:
|
| 29 |
+
- image
|
| 30 |
+
allowed_file_upload_methods:
|
| 31 |
+
- local_file
|
| 32 |
+
- remote_url
|
| 33 |
+
enabled: false
|
| 34 |
+
fileUploadConfig:
|
| 35 |
+
audio_file_size_limit: 50
|
| 36 |
+
batch_count_limit: 5
|
| 37 |
+
file_size_limit: 15
|
| 38 |
+
image_file_size_limit: 10
|
| 39 |
+
video_file_size_limit: 100
|
| 40 |
+
workflow_file_upload_limit: 10
|
| 41 |
+
image:
|
| 42 |
+
enabled: false
|
| 43 |
+
number_limits: 3
|
| 44 |
+
transfer_methods:
|
| 45 |
+
- local_file
|
| 46 |
+
- remote_url
|
| 47 |
+
number_limits: 3
|
| 48 |
+
opening_statement: ''
|
| 49 |
+
retriever_resource:
|
| 50 |
+
enabled: true
|
| 51 |
+
sensitive_word_avoidance:
|
| 52 |
+
enabled: false
|
| 53 |
+
speech_to_text:
|
| 54 |
+
enabled: false
|
| 55 |
+
suggested_questions: []
|
| 56 |
+
suggested_questions_after_answer:
|
| 57 |
+
enabled: false
|
| 58 |
+
text_to_speech:
|
| 59 |
+
enabled: false
|
| 60 |
+
language: ''
|
| 61 |
+
voice: ''
|
| 62 |
+
graph:
|
| 63 |
+
edges:
|
| 64 |
+
- data:
|
| 65 |
+
isInLoop: false
|
| 66 |
+
sourceType: llm
|
| 67 |
+
targetType: code
|
| 68 |
+
id: 1760433170399-source-1760431395870-target
|
| 69 |
+
selected: false
|
| 70 |
+
source: '1760433170399'
|
| 71 |
+
sourceHandle: source
|
| 72 |
+
target: '1760431395870'
|
| 73 |
+
targetHandle: target
|
| 74 |
+
type: custom
|
| 75 |
+
zIndex: 0
|
| 76 |
+
- data:
|
| 77 |
+
isInIteration: false
|
| 78 |
+
isInLoop: false
|
| 79 |
+
sourceType: start
|
| 80 |
+
targetType: llm
|
| 81 |
+
id: 1760360355141-source-1764831451652-target
|
| 82 |
+
selected: false
|
| 83 |
+
source: '1760360355141'
|
| 84 |
+
sourceHandle: source
|
| 85 |
+
target: '1764831451652'
|
| 86 |
+
targetHandle: target
|
| 87 |
+
type: custom
|
| 88 |
+
zIndex: 0
|
| 89 |
+
- data:
|
| 90 |
+
isInLoop: false
|
| 91 |
+
sourceType: start
|
| 92 |
+
targetType: llm
|
| 93 |
+
id: 1760360355141-source-1760433170399-target
|
| 94 |
+
selected: false
|
| 95 |
+
source: '1760360355141'
|
| 96 |
+
sourceHandle: source
|
| 97 |
+
target: '1760433170399'
|
| 98 |
+
targetHandle: target
|
| 99 |
+
type: custom
|
| 100 |
+
zIndex: 0
|
| 101 |
+
- data:
|
| 102 |
+
isInLoop: false
|
| 103 |
+
sourceType: start
|
| 104 |
+
targetType: knowledge-retrieval
|
| 105 |
+
id: 1760360355141-source-1763020657891-target
|
| 106 |
+
selected: false
|
| 107 |
+
source: '1760360355141'
|
| 108 |
+
sourceHandle: source
|
| 109 |
+
target: '1763020657891'
|
| 110 |
+
targetHandle: target
|
| 111 |
+
type: custom
|
| 112 |
+
zIndex: 0
|
| 113 |
+
- data:
|
| 114 |
+
isInIteration: false
|
| 115 |
+
isInLoop: false
|
| 116 |
+
sourceType: code
|
| 117 |
+
targetType: tool
|
| 118 |
+
id: 1760431395870-source-1764862201148-target
|
| 119 |
+
selected: false
|
| 120 |
+
source: '1760431395870'
|
| 121 |
+
sourceHandle: source
|
| 122 |
+
target: '1764862201148'
|
| 123 |
+
targetHandle: target
|
| 124 |
+
type: custom
|
| 125 |
+
zIndex: 0
|
| 126 |
+
- data:
|
| 127 |
+
isInLoop: false
|
| 128 |
+
sourceType: code
|
| 129 |
+
targetType: tool
|
| 130 |
+
id: 1764831538955-source-1764904930952-target
|
| 131 |
+
selected: false
|
| 132 |
+
source: '1764831538955'
|
| 133 |
+
sourceHandle: source
|
| 134 |
+
target: '1764904930952'
|
| 135 |
+
targetHandle: target
|
| 136 |
+
type: custom
|
| 137 |
+
zIndex: 0
|
| 138 |
+
- data:
|
| 139 |
+
isInLoop: false
|
| 140 |
+
sourceType: llm
|
| 141 |
+
targetType: code
|
| 142 |
+
id: 1764831451652-source-1764831538955-target
|
| 143 |
+
source: '1764831451652'
|
| 144 |
+
sourceHandle: source
|
| 145 |
+
target: '1764831538955'
|
| 146 |
+
targetHandle: target
|
| 147 |
+
type: custom
|
| 148 |
+
zIndex: 0
|
| 149 |
+
- data:
|
| 150 |
+
isInLoop: false
|
| 151 |
+
sourceType: tool
|
| 152 |
+
targetType: llm
|
| 153 |
+
id: 1764904930952-source-1766991784354-target
|
| 154 |
+
selected: false
|
| 155 |
+
source: '1764904930952'
|
| 156 |
+
sourceHandle: source
|
| 157 |
+
target: '1766991784354'
|
| 158 |
+
targetHandle: target
|
| 159 |
+
type: custom
|
| 160 |
+
zIndex: 0
|
| 161 |
+
- data:
|
| 162 |
+
isInLoop: false
|
| 163 |
+
sourceType: tool
|
| 164 |
+
targetType: llm
|
| 165 |
+
id: 1764862201148-source-1766991784354-target
|
| 166 |
+
selected: false
|
| 167 |
+
source: '1764862201148'
|
| 168 |
+
sourceHandle: source
|
| 169 |
+
target: '1766991784354'
|
| 170 |
+
targetHandle: target
|
| 171 |
+
type: custom
|
| 172 |
+
zIndex: 0
|
| 173 |
+
- data:
|
| 174 |
+
isInLoop: false
|
| 175 |
+
sourceType: knowledge-retrieval
|
| 176 |
+
targetType: llm
|
| 177 |
+
id: 1763020657891-source-1766991784354-target
|
| 178 |
+
selected: false
|
| 179 |
+
source: '1763020657891'
|
| 180 |
+
sourceHandle: source
|
| 181 |
+
target: '1766991784354'
|
| 182 |
+
targetHandle: target
|
| 183 |
+
type: custom
|
| 184 |
+
zIndex: 0
|
| 185 |
+
- data:
|
| 186 |
+
isInIteration: false
|
| 187 |
+
isInLoop: false
|
| 188 |
+
sourceType: llm
|
| 189 |
+
targetType: answer
|
| 190 |
+
id: 1766991784354-source-1767855070087-target
|
| 191 |
+
selected: false
|
| 192 |
+
source: '1766991784354'
|
| 193 |
+
sourceHandle: source
|
| 194 |
+
target: '1767855070087'
|
| 195 |
+
targetHandle: target
|
| 196 |
+
type: custom
|
| 197 |
+
zIndex: 0
|
| 198 |
+
nodes:
|
| 199 |
+
- data:
|
| 200 |
+
selected: false
|
| 201 |
+
title: start
|
| 202 |
+
type: start
|
| 203 |
+
variables: []
|
| 204 |
+
height: 52
|
| 205 |
+
id: '1760360355141'
|
| 206 |
+
position:
|
| 207 |
+
x: 12.361104149871096
|
| 208 |
+
y: 251
|
| 209 |
+
positionAbsolute:
|
| 210 |
+
x: 12.361104149871096
|
| 211 |
+
y: 251
|
| 212 |
+
selected: false
|
| 213 |
+
sourcePosition: right
|
| 214 |
+
targetPosition: left
|
| 215 |
+
type: custom
|
| 216 |
+
width: 242
|
| 217 |
+
- data:
|
| 218 |
+
code: "import re\n\ndef main(arg1: str) -> dict:\n arg1 = re.sub(r'<sql>\\\
|
| 219 |
+
s*</sql>', '', arg1)\n arg1 = arg1.replace('\\n', ' ')\n sql_pattern\
|
| 220 |
+
\ = r'<sql>(?:(?!<sql>).)*?</sql>'\n matches = re.findall(sql_pattern,\
|
| 221 |
+
\ arg1, re.DOTALL)\n if matches:\n last_sql_tag = matches[-1].strip()\n\
|
| 222 |
+
\ pure_sql = last_sql_tag.replace('<sql>', '').replace('</sql>',\
|
| 223 |
+
\ '').strip()\n return {\"result\": pure_sql}\n else:\n \
|
| 224 |
+
\ return {\"error\": \"No SQL statement wrapped in <sql> tags found\"}"
|
| 225 |
+
code_language: python3
|
| 226 |
+
outputs:
|
| 227 |
+
result:
|
| 228 |
+
children: null
|
| 229 |
+
type: string
|
| 230 |
+
selected: false
|
| 231 |
+
title: executecode2
|
| 232 |
+
type: code
|
| 233 |
+
variables:
|
| 234 |
+
- value_selector:
|
| 235 |
+
- '1760433170399'
|
| 236 |
+
- text
|
| 237 |
+
value_type: string
|
| 238 |
+
variable: arg1
|
| 239 |
+
height: 52
|
| 240 |
+
id: '1760431395870'
|
| 241 |
+
position:
|
| 242 |
+
x: 632
|
| 243 |
+
y: 251
|
| 244 |
+
positionAbsolute:
|
| 245 |
+
x: 632
|
| 246 |
+
y: 251
|
| 247 |
+
selected: false
|
| 248 |
+
sourcePosition: right
|
| 249 |
+
targetPosition: left
|
| 250 |
+
type: custom
|
| 251 |
+
width: 242
|
| 252 |
+
- data:
|
| 253 |
+
context:
|
| 254 |
+
enabled: true
|
| 255 |
+
variable_selector:
|
| 256 |
+
- sys
|
| 257 |
+
- query
|
| 258 |
+
model:
|
| 259 |
+
completion_params: {}
|
| 260 |
+
mode: chat
|
| 261 |
+
name: gpt-5
|
| 262 |
+
provider: langgenius/openai/openai
|
| 263 |
+
prompt_template:
|
| 264 |
+
- id: abc810d5-7d5d-486e-9c65-26a8e231aa2a
|
| 265 |
+
role: system
|
| 266 |
+
text: '# Role
|
| 267 |
+
|
| 268 |
+
You are a professional MySQL generation assistant, specializing in generating
|
| 269 |
+
SQL statements for the 【pubchemlite_exposomics_20251226】 database. Please
|
| 270 |
+
generate SQL query statements based on user requirements {{#context#}}.
|
| 271 |
+
You must strictly follow the requirements below and are not allowed to
|
| 272 |
+
deviate from the rules or generate irrelevant content.
|
| 273 |
+
|
| 274 |
+
|
| 275 |
+
# Core Rules
|
| 276 |
+
|
| 277 |
+
- Must convert users'' natural language questions into valid MySQL query
|
| 278 |
+
statements that only target the "local compound database". Forbidden to
|
| 279 |
+
generate write operations such as creating tables, modifying tables, or
|
| 280 |
+
deleting data; only SELECT queries are supported.
|
| 281 |
+
|
| 282 |
+
- The generated MySQL statements must be completely enclosed within <sql>
|
| 283 |
+
and </sql> tags. Necessary explanations can be added outside the tags
|
| 284 |
+
(non-mandatory), but only pure SQL statements should be kept inside the
|
| 285 |
+
tags.
|
| 286 |
+
|
| 287 |
+
- Only allowed to use existing tables in the current compound database
|
| 288 |
+
(fixed table name: pubchemlite_ccs) and the fields XLogP, BioPathway,
|
| 289 |
+
ToxicityInfo, KnownUse, DisorderDisease. Forbidden to generate irrelevant
|
| 290 |
+
tables or fields on your own; field spellings must strictly correspond,
|
| 291 |
+
no errors, additions, or deletions allowed.
|
| 292 |
+
|
| 293 |
+
- If the user''s question does not specify query conditions, default to
|
| 294 |
+
querying the above five columns of information for all compounds. If other
|
| 295 |
+
fields are involved, you must explain outside the tags: "Currently only
|
| 296 |
+
the XLogP, BioPathway, ToxicityInfo, KnownUse, and DisorderDisease columns
|
| 297 |
+
are supported for querying; other fields cannot be queried", and do not
|
| 298 |
+
generate invalid SQL.
|
| 299 |
+
|
| 300 |
+
|
| 301 |
+
# Database Table Relationship Description
|
| 302 |
+
|
| 303 |
+
The current compound database only involves a single compound data table
|
| 304 |
+
(no multi-table associations). All queries are based on this single table,
|
| 305 |
+
and multi-table operations such as JOIN are not required.
|
| 306 |
+
|
| 307 |
+
|
| 308 |
+
# Example Reference
|
| 309 |
+
|
| 310 |
+
1. User question: “1,2,4-trichlorobenzene”
|
| 311 |
+
|
| 312 |
+
Generated result:
|
| 313 |
+
|
| 314 |
+
<sql> SELECT CompoundName, XLogP, BioPathway, ToxicityInfo, KnownUse,
|
| 315 |
+
DisorderDisease FROM pubchemlite_exposomics_20251226 WHERE CompoundName
|
| 316 |
+
= ''1,2,4-trichlorobenzene'' LIMIT 10 </sql>'
|
| 317 |
+
selected: false
|
| 318 |
+
title: LLM_pubchemlite
|
| 319 |
+
type: llm
|
| 320 |
+
vision:
|
| 321 |
+
enabled: false
|
| 322 |
+
height: 94
|
| 323 |
+
id: '1760433170399'
|
| 324 |
+
position:
|
| 325 |
+
x: 331
|
| 326 |
+
y: 251
|
| 327 |
+
positionAbsolute:
|
| 328 |
+
x: 331
|
| 329 |
+
y: 251
|
| 330 |
+
selected: true
|
| 331 |
+
sourcePosition: right
|
| 332 |
+
targetPosition: left
|
| 333 |
+
type: custom
|
| 334 |
+
width: 242
|
| 335 |
+
- data:
|
| 336 |
+
dataset_ids:
|
| 337 |
+
- CuV6X2iaXQgYHKfOjA5DAlyvVPpmF6fPFkrgIBjHqUpD7ENMHgaNSYgwMFm2I99Y
|
| 338 |
+
multiple_retrieval_config:
|
| 339 |
+
reranking_enable: false
|
| 340 |
+
reranking_mode: reranking_model
|
| 341 |
+
score_threshold: null
|
| 342 |
+
top_k: 4
|
| 343 |
+
query_variable_selector:
|
| 344 |
+
- '1760360355141'
|
| 345 |
+
- sys.query
|
| 346 |
+
retrieval_mode: multiple
|
| 347 |
+
selected: false
|
| 348 |
+
title: 知识检索
|
| 349 |
+
type: knowledge-retrieval
|
| 350 |
+
height: 90
|
| 351 |
+
id: '1763020657891'
|
| 352 |
+
position:
|
| 353 |
+
x: 331
|
| 354 |
+
y: 526.5353719125708
|
| 355 |
+
positionAbsolute:
|
| 356 |
+
x: 331
|
| 357 |
+
y: 526.5353719125708
|
| 358 |
+
selected: false
|
| 359 |
+
sourcePosition: right
|
| 360 |
+
targetPosition: left
|
| 361 |
+
type: custom
|
| 362 |
+
width: 242
|
| 363 |
+
- data:
|
| 364 |
+
context:
|
| 365 |
+
enabled: true
|
| 366 |
+
variable_selector:
|
| 367 |
+
- sys
|
| 368 |
+
- query
|
| 369 |
+
model:
|
| 370 |
+
completion_params: {}
|
| 371 |
+
mode: chat
|
| 372 |
+
name: gpt-5
|
| 373 |
+
provider: langgenius/openai/openai
|
| 374 |
+
prompt_template:
|
| 375 |
+
- id: b9a3fcd8-9a77-47fe-9c25-2a60a0c014eb
|
| 376 |
+
role: system
|
| 377 |
+
text: "# Role\nYou are a professional MySQL generation assistant, specialized\
|
| 378 |
+
\ in generating query statements for the [InvitroDB v4.3] toxicity database.\n\
|
| 379 |
+
\n# Core Task\nWhen a user inputs a compound name{{#context#}}, automatically\
|
| 380 |
+
\ generate the corresponding SQL query statement to retrieve toxicity\
|
| 381 |
+
\ test data for that compound.\n\n# Output Format\nThe generated SQL statement\
|
| 382 |
+
\ must be completely enclosed within `<sql>` and `</sql>` tags.\n\n# Query\
|
| 383 |
+
\ Template (Fixed)\nUse the following SQL template, replacing [Compound\
|
| 384 |
+
\ Name] with the actual compound name entered by the user:\n\n<sql>\n\
|
| 385 |
+
SELECT DISTINCT \n c.chnm AS compound_name,\n c.casn AS CASRN, \n\
|
| 386 |
+
\ ace.assay_component_endpoint_name AS endpoint_name\nFROM chemical\
|
| 387 |
+
\ c, chemical_analytical_qc caq, mc0 m, assay_component_endpoint ace\n\
|
| 388 |
+
WHERE c.dsstox_substance_id = caq.dsstox_substance_id\n AND caq.spid\
|
| 389 |
+
\ = m.spid\n AND m.acid = ace.acid\n AND c.chnm = 'Acetamide'\nORDER\
|
| 390 |
+
\ BY endpoint_name;\n</sql>\n\n# Operation Rules\n1. Users only need to\
|
| 391 |
+
\ input the compound name, e.g.: Dehydroacetic acid\n2. You only need\
|
| 392 |
+
\ to replace the user's input compound name into WHERE c.chnm = '[User-Entered\
|
| 393 |
+
\ Compound Name]'\n3. Keep all other parts of the SQL statement completely\
|
| 394 |
+
\ unchanged\n4. The output should only contain the <sql>...</sql> tags\
|
| 395 |
+
\ and the SQL statement within them\n\n# Example\nUser input: Dehydroacetic\
|
| 396 |
+
\ acid\n\nYour output should be:\n<sql>\nSELECT DISTINCT \n c.chnm\
|
| 397 |
+
\ AS compound_name,\n c.casn AS CASRN, \n ace.assay_component_endpoint_name\
|
| 398 |
+
\ AS endpoint_name\nFROM chemical c, chemical_analytical_qc caq, mc0 m,\
|
| 399 |
+
\ assay_component_endpoint ace\nWHERE c.dsstox_substance_id = caq.dsstox_substance_id\n\
|
| 400 |
+
\ AND caq.spid = m.spid\n AND m.acid = ace.acid\n AND c.chnm = 'Dehydroacetic\
|
| 401 |
+
\ acid'\nORDER BY endpoint_name;\n</sql>"
|
| 402 |
+
selected: false
|
| 403 |
+
title: LLM_invitrodb
|
| 404 |
+
type: llm
|
| 405 |
+
vision:
|
| 406 |
+
enabled: false
|
| 407 |
+
height: 94
|
| 408 |
+
id: '1764831451652'
|
| 409 |
+
position:
|
| 410 |
+
x: 331
|
| 411 |
+
y: 6.037674605748222
|
| 412 |
+
positionAbsolute:
|
| 413 |
+
x: 331
|
| 414 |
+
y: 6.037674605748222
|
| 415 |
+
selected: false
|
| 416 |
+
sourcePosition: right
|
| 417 |
+
targetPosition: left
|
| 418 |
+
type: custom
|
| 419 |
+
width: 242
|
| 420 |
+
- data:
|
| 421 |
+
code: "import re\n\ndef main(arg1: str) -> dict:\n arg1 = re.sub(r'<sql>\\\
|
| 422 |
+
s*</sql>', '', arg1)\n arg1 = arg1.replace('\\n', ' ')\n sql_pattern\
|
| 423 |
+
\ = r'<sql>(?:(?!<sql>).)*?</sql>'\n matches = re.findall(sql_pattern,\
|
| 424 |
+
\ arg1, re.DOTALL)\n if matches:\n last_sql_tag = matches[-1].strip()\n\
|
| 425 |
+
\ pure_sql = last_sql_tag.replace('<sql>', '').replace('</sql>',\
|
| 426 |
+
\ '').strip()\n return {\"result\": pure_sql}\n else:\n \
|
| 427 |
+
\ return {\"error\": \"No SQL statement wrapped in <sql> tags found\"}"
|
| 428 |
+
code_language: python3
|
| 429 |
+
outputs:
|
| 430 |
+
result:
|
| 431 |
+
children: null
|
| 432 |
+
type: string
|
| 433 |
+
selected: false
|
| 434 |
+
title: executecode
|
| 435 |
+
type: code
|
| 436 |
+
variables:
|
| 437 |
+
- value_selector:
|
| 438 |
+
- '1764831451652'
|
| 439 |
+
- text
|
| 440 |
+
value_type: string
|
| 441 |
+
variable: arg1
|
| 442 |
+
height: 52
|
| 443 |
+
id: '1764831538955'
|
| 444 |
+
position:
|
| 445 |
+
x: 608.8380905747413
|
| 446 |
+
y: 6.037674605748222
|
| 447 |
+
positionAbsolute:
|
| 448 |
+
x: 608.8380905747413
|
| 449 |
+
y: 6.037674605748222
|
| 450 |
+
selected: false
|
| 451 |
+
sourcePosition: right
|
| 452 |
+
targetPosition: left
|
| 453 |
+
type: custom
|
| 454 |
+
width: 242
|
| 455 |
+
- data:
|
| 456 |
+
is_team_authorization: true
|
| 457 |
+
paramSchemas:
|
| 458 |
+
- auto_generate: null
|
| 459 |
+
default: null
|
| 460 |
+
form: llm
|
| 461 |
+
human_description:
|
| 462 |
+
en_US: Target database identifier (case-sensitive)
|
| 463 |
+
ja_JP: Target database identifier (case-sensitive)
|
| 464 |
+
pt_BR: Target database identifier (case-sensitive)
|
| 465 |
+
zh_Hans: Target database identifier (case-sensitive)
|
| 466 |
+
label:
|
| 467 |
+
en_US: db_identifier
|
| 468 |
+
ja_JP: db_identifier
|
| 469 |
+
pt_BR: db_identifier
|
| 470 |
+
zh_Hans: db_identifier
|
| 471 |
+
llm_description: Target database identifier (case-sensitive)
|
| 472 |
+
max: null
|
| 473 |
+
min: null
|
| 474 |
+
name: db_identifier
|
| 475 |
+
options: []
|
| 476 |
+
placeholder:
|
| 477 |
+
en_US: Target database identifier (case-sensitive)
|
| 478 |
+
ja_JP: Target database identifier (case-sensitive)
|
| 479 |
+
pt_BR: Target database identifier (case-sensitive)
|
| 480 |
+
zh_Hans: Target database identifier (case-sensitive)
|
| 481 |
+
precision: null
|
| 482 |
+
required: true
|
| 483 |
+
scope: null
|
| 484 |
+
template: null
|
| 485 |
+
type: string
|
| 486 |
+
- auto_generate: null
|
| 487 |
+
default: null
|
| 488 |
+
form: llm
|
| 489 |
+
human_description:
|
| 490 |
+
en_US: 'Valid MySQL SELECT query (only):
|
| 491 |
+
|
| 492 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 493 |
+
|
| 494 |
+
Key fields:
|
| 495 |
+
|
| 496 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 497 |
+
|
| 498 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 499 |
+
|
| 500 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 501 |
+
|
| 502 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 503 |
+
(escape special chars!)
|
| 504 |
+
|
| 505 |
+
|
| 506 |
+
## invitrodb_v4_3 (core tables)
|
| 507 |
+
|
| 508 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 509 |
+
|
| 510 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 511 |
+
|
| 512 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 513 |
+
|
| 514 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 515 |
+
|
| 516 |
+
'
|
| 517 |
+
ja_JP: 'Valid MySQL SELECT query (only):
|
| 518 |
+
|
| 519 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 520 |
+
|
| 521 |
+
Key fields:
|
| 522 |
+
|
| 523 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 524 |
+
|
| 525 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 526 |
+
|
| 527 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 528 |
+
|
| 529 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 530 |
+
(escape special chars!)
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
## invitrodb_v4_3 (core tables)
|
| 534 |
+
|
| 535 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 536 |
+
|
| 537 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 538 |
+
|
| 539 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 540 |
+
|
| 541 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 542 |
+
|
| 543 |
+
'
|
| 544 |
+
pt_BR: 'Valid MySQL SELECT query (only):
|
| 545 |
+
|
| 546 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 547 |
+
|
| 548 |
+
Key fields:
|
| 549 |
+
|
| 550 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 551 |
+
|
| 552 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 553 |
+
|
| 554 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 555 |
+
|
| 556 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 557 |
+
(escape special chars!)
|
| 558 |
+
|
| 559 |
+
|
| 560 |
+
## invitrodb_v4_3 (core tables)
|
| 561 |
+
|
| 562 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 563 |
+
|
| 564 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 565 |
+
|
| 566 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 567 |
+
|
| 568 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 569 |
+
|
| 570 |
+
'
|
| 571 |
+
zh_Hans: 'Valid MySQL SELECT query (only):
|
| 572 |
+
|
| 573 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 574 |
+
|
| 575 |
+
Key fields:
|
| 576 |
+
|
| 577 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 578 |
+
|
| 579 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 580 |
+
|
| 581 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 582 |
+
|
| 583 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 584 |
+
(escape special chars!)
|
| 585 |
+
|
| 586 |
+
|
| 587 |
+
## invitrodb_v4_3 (core tables)
|
| 588 |
+
|
| 589 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 590 |
+
|
| 591 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 592 |
+
|
| 593 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 594 |
+
|
| 595 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 596 |
+
|
| 597 |
+
'
|
| 598 |
+
label:
|
| 599 |
+
en_US: sql
|
| 600 |
+
ja_JP: sql
|
| 601 |
+
pt_BR: sql
|
| 602 |
+
zh_Hans: sql
|
| 603 |
+
llm_description: 'Valid MySQL SELECT query (only):
|
| 604 |
+
|
| 605 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 606 |
+
|
| 607 |
+
Key fields:
|
| 608 |
+
|
| 609 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 610 |
+
|
| 611 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 612 |
+
|
| 613 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 614 |
+
|
| 615 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 616 |
+
(escape special chars!)
|
| 617 |
+
|
| 618 |
+
|
| 619 |
+
## invitrodb_v4_3 (core tables)
|
| 620 |
+
|
| 621 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 622 |
+
|
| 623 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 624 |
+
|
| 625 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 626 |
+
|
| 627 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 628 |
+
|
| 629 |
+
'
|
| 630 |
+
max: null
|
| 631 |
+
min: null
|
| 632 |
+
name: sql
|
| 633 |
+
options: []
|
| 634 |
+
placeholder:
|
| 635 |
+
en_US: 'Valid MySQL SELECT query (only):
|
| 636 |
+
|
| 637 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 638 |
+
|
| 639 |
+
Key fields:
|
| 640 |
+
|
| 641 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 642 |
+
|
| 643 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 644 |
+
|
| 645 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 646 |
+
|
| 647 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 648 |
+
(escape special chars!)
|
| 649 |
+
|
| 650 |
+
|
| 651 |
+
## invitrodb_v4_3 (core tables)
|
| 652 |
+
|
| 653 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 654 |
+
|
| 655 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 656 |
+
|
| 657 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 658 |
+
|
| 659 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 660 |
+
|
| 661 |
+
'
|
| 662 |
+
ja_JP: 'Valid MySQL SELECT query (only):
|
| 663 |
+
|
| 664 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 665 |
+
|
| 666 |
+
Key fields:
|
| 667 |
+
|
| 668 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 669 |
+
|
| 670 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 671 |
+
|
| 672 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 673 |
+
|
| 674 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 675 |
+
(escape special chars!)
|
| 676 |
+
|
| 677 |
+
|
| 678 |
+
## invitrodb_v4_3 (core tables)
|
| 679 |
+
|
| 680 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 681 |
+
|
| 682 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 683 |
+
|
| 684 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 685 |
+
|
| 686 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 687 |
+
|
| 688 |
+
'
|
| 689 |
+
pt_BR: 'Valid MySQL SELECT query (only):
|
| 690 |
+
|
| 691 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 692 |
+
|
| 693 |
+
Key fields:
|
| 694 |
+
|
| 695 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 696 |
+
|
| 697 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 698 |
+
|
| 699 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 700 |
+
|
| 701 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 702 |
+
(escape special chars!)
|
| 703 |
+
|
| 704 |
+
|
| 705 |
+
## invitrodb_v4_3 (core tables)
|
| 706 |
+
|
| 707 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 708 |
+
|
| 709 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 710 |
+
|
| 711 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 712 |
+
|
| 713 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 714 |
+
|
| 715 |
+
'
|
| 716 |
+
zh_Hans: 'Valid MySQL SELECT query (only):
|
| 717 |
+
|
| 718 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 719 |
+
|
| 720 |
+
Key fields:
|
| 721 |
+
|
| 722 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 723 |
+
|
| 724 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 725 |
+
|
| 726 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 727 |
+
|
| 728 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 729 |
+
(escape special chars!)
|
| 730 |
+
|
| 731 |
+
|
| 732 |
+
## invitrodb_v4_3 (core tables)
|
| 733 |
+
|
| 734 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 735 |
+
|
| 736 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 737 |
+
|
| 738 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 739 |
+
|
| 740 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 741 |
+
|
| 742 |
+
'
|
| 743 |
+
precision: null
|
| 744 |
+
required: true
|
| 745 |
+
scope: null
|
| 746 |
+
template: null
|
| 747 |
+
type: string
|
| 748 |
+
params:
|
| 749 |
+
db_identifier: ''
|
| 750 |
+
sql: ''
|
| 751 |
+
provider_id: 718b1b16-54d4-44f2-bc49-3a36d506d557
|
| 752 |
+
provider_name: sql_executor_pubchemlite_invitrodb_en
|
| 753 |
+
provider_type: api
|
| 754 |
+
selected: false
|
| 755 |
+
title: executeSqlPost
|
| 756 |
+
tool_configurations: {}
|
| 757 |
+
tool_description: 'Execute read-only SELECT queries on pubchemlite or invitrodb_v4_3
|
| 758 |
+
database.
|
| 759 |
+
|
| 760 |
+
Notes:
|
| 761 |
+
|
| 762 |
+
1. Only SELECT operation is allowed (INSERT/UPDATE/DELETE/DROP are prohibited);
|
| 763 |
+
|
| 764 |
+
2. For fields with special characters (e.g. pred_CCS_A2_[M+H]+ in pubchemlite),
|
| 765 |
+
escape []/+ with backslash (\) or use backticks (`);
|
| 766 |
+
|
| 767 |
+
3. Avoid Python format characters (%, A, s, d) in SQL to prevent parsing
|
| 768 |
+
errors;
|
| 769 |
+
|
| 770 |
+
4. Add LIMIT clause to avoid large result sets (recommended LIMIT 100).
|
| 771 |
+
|
| 772 |
+
'
|
| 773 |
+
tool_label: executeSqlPost
|
| 774 |
+
tool_name: executeSqlPost
|
| 775 |
+
tool_node_version: '2'
|
| 776 |
+
tool_parameters:
|
| 777 |
+
db_identifier:
|
| 778 |
+
type: mixed
|
| 779 |
+
value: invitrodb_v4_3
|
| 780 |
+
sql:
|
| 781 |
+
type: mixed
|
| 782 |
+
value: '{{#1764831538955.result#}}'
|
| 783 |
+
type: tool
|
| 784 |
+
height: 52
|
| 785 |
+
id: '1764904930952'
|
| 786 |
+
position:
|
| 787 |
+
x: 893.4512104881396
|
| 788 |
+
y: 6.037674605748222
|
| 789 |
+
positionAbsolute:
|
| 790 |
+
x: 893.4512104881396
|
| 791 |
+
y: 6.037674605748222
|
| 792 |
+
selected: false
|
| 793 |
+
sourcePosition: right
|
| 794 |
+
targetPosition: left
|
| 795 |
+
type: custom
|
| 796 |
+
width: 242
|
| 797 |
+
- data:
|
| 798 |
+
is_team_authorization: true
|
| 799 |
+
paramSchemas:
|
| 800 |
+
- auto_generate: null
|
| 801 |
+
default: null
|
| 802 |
+
form: llm
|
| 803 |
+
human_description:
|
| 804 |
+
en_US: Target database identifier (case-sensitive)
|
| 805 |
+
ja_JP: Target database identifier (case-sensitive)
|
| 806 |
+
pt_BR: Target database identifier (case-sensitive)
|
| 807 |
+
zh_Hans: Target database identifier (case-sensitive)
|
| 808 |
+
label:
|
| 809 |
+
en_US: db_identifier
|
| 810 |
+
ja_JP: db_identifier
|
| 811 |
+
pt_BR: db_identifier
|
| 812 |
+
zh_Hans: db_identifier
|
| 813 |
+
llm_description: Target database identifier (case-sensitive)
|
| 814 |
+
max: null
|
| 815 |
+
min: null
|
| 816 |
+
name: db_identifier
|
| 817 |
+
options: []
|
| 818 |
+
placeholder:
|
| 819 |
+
en_US: Target database identifier (case-sensitive)
|
| 820 |
+
ja_JP: Target database identifier (case-sensitive)
|
| 821 |
+
pt_BR: Target database identifier (case-sensitive)
|
| 822 |
+
zh_Hans: Target database identifier (case-sensitive)
|
| 823 |
+
precision: null
|
| 824 |
+
required: true
|
| 825 |
+
scope: null
|
| 826 |
+
template: null
|
| 827 |
+
type: string
|
| 828 |
+
- auto_generate: null
|
| 829 |
+
default: null
|
| 830 |
+
form: llm
|
| 831 |
+
human_description:
|
| 832 |
+
en_US: 'Valid MySQL SELECT query (only):
|
| 833 |
+
|
| 834 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 835 |
+
|
| 836 |
+
Key fields:
|
| 837 |
+
|
| 838 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 839 |
+
|
| 840 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 841 |
+
|
| 842 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 843 |
+
|
| 844 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 845 |
+
(escape special chars!)
|
| 846 |
+
|
| 847 |
+
|
| 848 |
+
## invitrodb_v4_3 (core tables)
|
| 849 |
+
|
| 850 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 851 |
+
|
| 852 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 853 |
+
|
| 854 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 855 |
+
|
| 856 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 857 |
+
|
| 858 |
+
'
|
| 859 |
+
ja_JP: 'Valid MySQL SELECT query (only):
|
| 860 |
+
|
| 861 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 862 |
+
|
| 863 |
+
Key fields:
|
| 864 |
+
|
| 865 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 866 |
+
|
| 867 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 868 |
+
|
| 869 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 870 |
+
|
| 871 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 872 |
+
(escape special chars!)
|
| 873 |
+
|
| 874 |
+
|
| 875 |
+
## invitrodb_v4_3 (core tables)
|
| 876 |
+
|
| 877 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 878 |
+
|
| 879 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 880 |
+
|
| 881 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 882 |
+
|
| 883 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 884 |
+
|
| 885 |
+
'
|
| 886 |
+
pt_BR: 'Valid MySQL SELECT query (only):
|
| 887 |
+
|
| 888 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 889 |
+
|
| 890 |
+
Key fields:
|
| 891 |
+
|
| 892 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 893 |
+
|
| 894 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 895 |
+
|
| 896 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 897 |
+
|
| 898 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 899 |
+
(escape special chars!)
|
| 900 |
+
|
| 901 |
+
|
| 902 |
+
## invitrodb_v4_3 (core tables)
|
| 903 |
+
|
| 904 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 905 |
+
|
| 906 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 907 |
+
|
| 908 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 909 |
+
|
| 910 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 911 |
+
|
| 912 |
+
'
|
| 913 |
+
zh_Hans: 'Valid MySQL SELECT query (only):
|
| 914 |
+
|
| 915 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 916 |
+
|
| 917 |
+
Key fields:
|
| 918 |
+
|
| 919 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 920 |
+
|
| 921 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 922 |
+
|
| 923 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 924 |
+
|
| 925 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 926 |
+
(escape special chars!)
|
| 927 |
+
|
| 928 |
+
|
| 929 |
+
## invitrodb_v4_3 (core tables)
|
| 930 |
+
|
| 931 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 932 |
+
|
| 933 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 934 |
+
|
| 935 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 936 |
+
|
| 937 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 938 |
+
|
| 939 |
+
'
|
| 940 |
+
label:
|
| 941 |
+
en_US: sql
|
| 942 |
+
ja_JP: sql
|
| 943 |
+
pt_BR: sql
|
| 944 |
+
zh_Hans: sql
|
| 945 |
+
llm_description: 'Valid MySQL SELECT query (only):
|
| 946 |
+
|
| 947 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 948 |
+
|
| 949 |
+
Key fields:
|
| 950 |
+
|
| 951 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 952 |
+
|
| 953 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 954 |
+
|
| 955 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 956 |
+
|
| 957 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 958 |
+
(escape special chars!)
|
| 959 |
+
|
| 960 |
+
|
| 961 |
+
## invitrodb_v4_3 (core tables)
|
| 962 |
+
|
| 963 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 964 |
+
|
| 965 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 966 |
+
|
| 967 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 968 |
+
|
| 969 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 970 |
+
|
| 971 |
+
'
|
| 972 |
+
max: null
|
| 973 |
+
min: null
|
| 974 |
+
name: sql
|
| 975 |
+
options: []
|
| 976 |
+
placeholder:
|
| 977 |
+
en_US: 'Valid MySQL SELECT query (only):
|
| 978 |
+
|
| 979 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 980 |
+
|
| 981 |
+
Key fields:
|
| 982 |
+
|
| 983 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 984 |
+
|
| 985 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 986 |
+
|
| 987 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 988 |
+
|
| 989 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 990 |
+
(escape special chars!)
|
| 991 |
+
|
| 992 |
+
|
| 993 |
+
## invitrodb_v4_3 (core tables)
|
| 994 |
+
|
| 995 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 996 |
+
|
| 997 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 998 |
+
|
| 999 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 1000 |
+
|
| 1001 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 1002 |
+
|
| 1003 |
+
'
|
| 1004 |
+
ja_JP: 'Valid MySQL SELECT query (only):
|
| 1005 |
+
|
| 1006 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 1007 |
+
|
| 1008 |
+
Key fields:
|
| 1009 |
+
|
| 1010 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 1011 |
+
|
| 1012 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 1013 |
+
|
| 1014 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 1015 |
+
|
| 1016 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 1017 |
+
(escape special chars!)
|
| 1018 |
+
|
| 1019 |
+
|
| 1020 |
+
## invitrodb_v4_3 (core tables)
|
| 1021 |
+
|
| 1022 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 1023 |
+
|
| 1024 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 1025 |
+
|
| 1026 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 1027 |
+
|
| 1028 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 1029 |
+
|
| 1030 |
+
'
|
| 1031 |
+
pt_BR: 'Valid MySQL SELECT query (only):
|
| 1032 |
+
|
| 1033 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 1034 |
+
|
| 1035 |
+
Key fields:
|
| 1036 |
+
|
| 1037 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 1038 |
+
|
| 1039 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 1040 |
+
|
| 1041 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 1042 |
+
|
| 1043 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 1044 |
+
(escape special chars!)
|
| 1045 |
+
|
| 1046 |
+
|
| 1047 |
+
## invitrodb_v4_3 (core tables)
|
| 1048 |
+
|
| 1049 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 1050 |
+
|
| 1051 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 1052 |
+
|
| 1053 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 1054 |
+
|
| 1055 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 1056 |
+
|
| 1057 |
+
'
|
| 1058 |
+
zh_Hans: 'Valid MySQL SELECT query (only):
|
| 1059 |
+
|
| 1060 |
+
## pubchemlite (core table: pubchemlite_ccs)
|
| 1061 |
+
|
| 1062 |
+
Key fields:
|
| 1063 |
+
|
| 1064 |
+
- Basic info: Identifier, CompoundName, MolecularFormula, SMILES, XLogP
|
| 1065 |
+
|
| 1066 |
+
- Literature/Patent: PubMed_Count, Patent_Count
|
| 1067 |
+
|
| 1068 |
+
- Toxicity/Property: SafetyInfo, ToxicityInfo, MonoisotopicMass
|
| 1069 |
+
|
| 1070 |
+
- Predicted CCS: pred_CCS_A2_[M+H]+, pred_CCS_A2_[M+Na]+, pred_CCS_A2_[M-H]-
|
| 1071 |
+
(escape special chars!)
|
| 1072 |
+
|
| 1073 |
+
|
| 1074 |
+
## invitrodb_v4_3 (core tables)
|
| 1075 |
+
|
| 1076 |
+
- assay: aid, assay_name, organism, tissue, ncbi_taxon_id
|
| 1077 |
+
|
| 1078 |
+
- chemical: chid, casn, chnm (chemical name), dsstox_substance_id
|
| 1079 |
+
|
| 1080 |
+
- mc0: m0id, acid, spid, conc (concentration μM), rval (response value)
|
| 1081 |
+
|
| 1082 |
+
- assay_component: acid, assay_component_name (toxicity type)
|
| 1083 |
+
|
| 1084 |
+
'
|
| 1085 |
+
precision: null
|
| 1086 |
+
required: true
|
| 1087 |
+
scope: null
|
| 1088 |
+
template: null
|
| 1089 |
+
type: string
|
| 1090 |
+
params:
|
| 1091 |
+
db_identifier: ''
|
| 1092 |
+
sql: ''
|
| 1093 |
+
provider_id: 718b1b16-54d4-44f2-bc49-3a36d506d557
|
| 1094 |
+
provider_name: sql_executor_pubchemlite_invitrodb_en
|
| 1095 |
+
provider_type: api
|
| 1096 |
+
selected: false
|
| 1097 |
+
title: executeSqlPost2
|
| 1098 |
+
tool_configurations: {}
|
| 1099 |
+
tool_description: 'Execute read-only SELECT queries on pubchemlite or invitrodb_v4_3
|
| 1100 |
+
database.
|
| 1101 |
+
|
| 1102 |
+
Notes:
|
| 1103 |
+
|
| 1104 |
+
1. Only SELECT operation is allowed (INSERT/UPDATE/DELETE/DROP are prohibited);
|
| 1105 |
+
|
| 1106 |
+
2. For fields with special characters (e.g. pred_CCS_A2_[M+H]+ in pubchemlite),
|
| 1107 |
+
escape []/+ with backslash (\) or use backticks (`);
|
| 1108 |
+
|
| 1109 |
+
3. Avoid Python format characters (%, A, s, d) in SQL to prevent parsing
|
| 1110 |
+
errors;
|
| 1111 |
+
|
| 1112 |
+
4. Add LIMIT clause to avoid large result sets (recommended LIMIT 100).
|
| 1113 |
+
|
| 1114 |
+
'
|
| 1115 |
+
tool_label: executeSqlPost
|
| 1116 |
+
tool_name: executeSqlPost
|
| 1117 |
+
tool_node_version: '2'
|
| 1118 |
+
tool_parameters:
|
| 1119 |
+
db_identifier:
|
| 1120 |
+
type: mixed
|
| 1121 |
+
value: pubchemlite
|
| 1122 |
+
sql:
|
| 1123 |
+
type: mixed
|
| 1124 |
+
value: '{{#1760431395870.result#}}'
|
| 1125 |
+
type: tool
|
| 1126 |
+
height: 52
|
| 1127 |
+
id: '1764862201148'
|
| 1128 |
+
position:
|
| 1129 |
+
x: 933.9456071364291
|
| 1130 |
+
y: 251
|
| 1131 |
+
positionAbsolute:
|
| 1132 |
+
x: 933.9456071364291
|
| 1133 |
+
y: 251
|
| 1134 |
+
selected: false
|
| 1135 |
+
sourcePosition: right
|
| 1136 |
+
targetPosition: left
|
| 1137 |
+
type: custom
|
| 1138 |
+
width: 242
|
| 1139 |
+
- data:
|
| 1140 |
+
context:
|
| 1141 |
+
enabled: true
|
| 1142 |
+
variable_selector:
|
| 1143 |
+
- '1763020657891'
|
| 1144 |
+
- result
|
| 1145 |
+
model:
|
| 1146 |
+
completion_params: {}
|
| 1147 |
+
mode: chat
|
| 1148 |
+
name: gpt-5
|
| 1149 |
+
provider: langgenius/openai/openai
|
| 1150 |
+
prompt_template:
|
| 1151 |
+
- id: 97778cb2-a8cc-449a-8a05-41b9c67f1450
|
| 1152 |
+
role: system
|
| 1153 |
+
text: "Now, as an environmental chemist, your role is to classify unidentified\
|
| 1154 |
+
\ chemicals. You have in-depth knowledge of formal names, commonly-used\
|
| 1155 |
+
\ terms, and scientific terminologies based on the 'IUPAC Naming.' Your\
|
| 1156 |
+
\ extensive training using the 'NORMAN Network' database and understanding\
|
| 1157 |
+
\ of environmental pollution of chemical substances helps in correctly\
|
| 1158 |
+
\ classifying chemicals.\nWhen a chemical name {{#sys.query#}} is presented,\
|
| 1159 |
+
\ your task is to complete the following steps:\nIdentify and Classify: Determine\
|
| 1160 |
+
\ the chemical's structure and categorize it into one of the known categories\
|
| 1161 |
+
\ in the 'NORMAN Network'. Your classification should fall into one of\
|
| 1162 |
+
\ these 9 categories:\na: Pharmaceuticals and Personal Care Products\n\
|
| 1163 |
+
b: Pesticide\nc: Food Additives\nd: Endogenous Substances\ne: Natural\
|
| 1164 |
+
\ Toxins\nf: Disinfection By-Products\ng: Metals and Their Compounds\n\
|
| 1165 |
+
h: Commercialized Industrial Chemicals\ni: Industrial Intermediates and\
|
| 1166 |
+
\ Transformation Products\nIntegrate Provided Data: Use the data provided\
|
| 1167 |
+
\ from the external queries to enrich the output.\nFrom {{#1764904930952.text#}} (in\
|
| 1168 |
+
\ vitro high-throughput screening data), you will receive information. Important:\
|
| 1169 |
+
\ The data may contain a list of endpoint_name. You must extract the CASRN and ALL endpoint_name values.\n\
|
| 1170 |
+
From {{#1764862201148.text#}}(compound-related data), you will receive\
|
| 1171 |
+
\ information such as CompoundName, XLogP, BioPathway, ToxicityInfo, KnownUse,\
|
| 1172 |
+
\ DisorderDisease.\nSynthesize Response: Combine the official Norman classification\
|
| 1173 |
+
\ context ({{#context#}}), the classification decision, and the data from\
|
| 1174 |
+
\ the two queries into a single, structured JSON response.\nGuidelines:\n\
|
| 1175 |
+
If the chemical is not listed in the 'NORMAN Network', use your knowledge\
|
| 1176 |
+
\ of its structure to assign the most appropriate category.\nIf a chemical\
|
| 1177 |
+
\ fits into multiple categories, provide up to three most common categories,\
|
| 1178 |
+
\ listing the primary category first.\nAlways include the data fields\
|
| 1179 |
+
\ from {{#1764904930952.text#}} and {{#1764862201148.text#}} in the output\
|
| 1180 |
+
\ JSON, as they are provided.\nFor the screening data:\nExtract the CASRN。\n\
|
| 1181 |
+
Extract ALL endpoint_name values。\nThe EndpointName field should be a\
|
| 1182 |
+
\ list containing all endpoint names.\nIf any field from the provided\
|
| 1183 |
+
\ data is empty or not applicable, set its value to null.\nResponse Format:\n\
|
| 1184 |
+
You must respond strictly in the following concise JSON format:\n{\n \
|
| 1185 |
+
\ \"ChemicalName\": {\n \"Main Category\": \"Primary Norman Category\
|
| 1186 |
+
\ \",\n \"Additional Category 1\": \"Secondary Category (if applicable)\"\
|
| 1187 |
+
,\n \"Additional Category 2\": \"Tertiary Category (if applicable)\"\
|
| 1188 |
+
,\n \"EndpointName\": [\"List\", \"of\", \"ALL\", \"endpoint_name\"\
|
| 1189 |
+
, \"values\", \"from\", \"{{#1764904930952.text#}}\"],\n \"XLogP\"\
|
| 1190 |
+
: \"Value from {{#1764862201148.text#}} or null\",\n \"BioPathway\"\
|
| 1191 |
+
: \"Value from {{#1764862201148.text#}} or null\",\n \"ToxicityInfo\"\
|
| 1192 |
+
: \"Value from {{#1764862201148.text#}} or null\",\n \"KnownUse\"\
|
| 1193 |
+
: \"Value from {{#1764862201148.text#}} or null\",\n \"DisorderDisease\"\
|
| 1194 |
+
: \"Value from {{#1764862201148.text#}} or null\"\n }\n}\nPlease abide\
|
| 1195 |
+
\ by the format and guidelines strictly."
|
| 1196 |
+
selected: false
|
| 1197 |
+
title: LLM 3
|
| 1198 |
+
type: llm
|
| 1199 |
+
vision:
|
| 1200 |
+
enabled: false
|
| 1201 |
+
height: 94
|
| 1202 |
+
id: '1766991784354'
|
| 1203 |
+
position:
|
| 1204 |
+
x: 1321.7474382338496
|
| 1205 |
+
y: 231.05966931475012
|
| 1206 |
+
positionAbsolute:
|
| 1207 |
+
x: 1321.7474382338496
|
| 1208 |
+
y: 231.05966931475012
|
| 1209 |
+
selected: false
|
| 1210 |
+
sourcePosition: right
|
| 1211 |
+
targetPosition: left
|
| 1212 |
+
type: custom
|
| 1213 |
+
width: 242
|
| 1214 |
+
- data:
|
| 1215 |
+
author: LQH
|
| 1216 |
+
desc: ''
|
| 1217 |
+
height: 88
|
| 1218 |
+
selected: false
|
| 1219 |
+
showAuthor: true
|
| 1220 |
+
text: '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Query
|
| 1221 |
+
the columns of CompoundName, XLogP, BioPathway, ToxicityInfo, KnownUse,
|
| 1222 |
+
and DisorderDisease in the pubchemlite database in strict accordance with
|
| 1223 |
+
the specified SQL format.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}'
|
| 1224 |
+
theme: blue
|
| 1225 |
+
title: ''
|
| 1226 |
+
type: ''
|
| 1227 |
+
width: 834
|
| 1228 |
+
height: 88
|
| 1229 |
+
id: '1767840238946'
|
| 1230 |
+
position:
|
| 1231 |
+
x: 331
|
| 1232 |
+
y: 376.00337970608007
|
| 1233 |
+
positionAbsolute:
|
| 1234 |
+
x: 331
|
| 1235 |
+
y: 376.00337970608007
|
| 1236 |
+
selected: false
|
| 1237 |
+
sourcePosition: right
|
| 1238 |
+
targetPosition: left
|
| 1239 |
+
type: custom-note
|
| 1240 |
+
width: 834
|
| 1241 |
+
- data:
|
| 1242 |
+
author: LQH
|
| 1243 |
+
desc: ''
|
| 1244 |
+
height: 88
|
| 1245 |
+
selected: false
|
| 1246 |
+
showAuthor: true
|
| 1247 |
+
text: '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Design
|
| 1248 |
+
SQL query statements to enable 4o to execute simple compound name replacement
|
| 1249 |
+
steps, realizing the function that when a user inputs a compound name, the
|
| 1250 |
+
system outputs the queried CASRN and endpoint name.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}'
|
| 1251 |
+
theme: blue
|
| 1252 |
+
title: ''
|
| 1253 |
+
type: ''
|
| 1254 |
+
width: 831
|
| 1255 |
+
height: 88
|
| 1256 |
+
id: '1767840343034'
|
| 1257 |
+
position:
|
| 1258 |
+
x: 331
|
| 1259 |
+
y: 113.12459577875379
|
| 1260 |
+
positionAbsolute:
|
| 1261 |
+
x: 331
|
| 1262 |
+
y: 113.12459577875379
|
| 1263 |
+
selected: false
|
| 1264 |
+
sourcePosition: right
|
| 1265 |
+
targetPosition: left
|
| 1266 |
+
type: custom-note
|
| 1267 |
+
width: 831
|
| 1268 |
+
- data:
|
| 1269 |
+
author: LQH
|
| 1270 |
+
desc: ''
|
| 1271 |
+
height: 88
|
| 1272 |
+
selected: false
|
| 1273 |
+
showAuthor: true
|
| 1274 |
+
text: '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Query
|
| 1275 |
+
the compound classifications in the Norman classification database.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}'
|
| 1276 |
+
theme: blue
|
| 1277 |
+
title: ''
|
| 1278 |
+
type: ''
|
| 1279 |
+
width: 475
|
| 1280 |
+
height: 88
|
| 1281 |
+
id: '1767840353651'
|
| 1282 |
+
position:
|
| 1283 |
+
x: 335.38017996692156
|
| 1284 |
+
y: 637.5054022130926
|
| 1285 |
+
positionAbsolute:
|
| 1286 |
+
x: 335.38017996692156
|
| 1287 |
+
y: 637.5054022130926
|
| 1288 |
+
selected: false
|
| 1289 |
+
sourcePosition: right
|
| 1290 |
+
targetPosition: left
|
| 1291 |
+
type: custom-note
|
| 1292 |
+
width: 475
|
| 1293 |
+
- data:
|
| 1294 |
+
author: LQH
|
| 1295 |
+
desc: ''
|
| 1296 |
+
height: 313
|
| 1297 |
+
selected: false
|
| 1298 |
+
showAuthor: true
|
| 1299 |
+
text: '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"It
|
| 1300 |
+
is required to strictly output the query results from the three databases
|
| 1301 |
+
in JSON format, which include the following fields:","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"ChemicalName","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"MainCategory","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"AdditionalCategory1","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":3},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"AdditionalCategory2","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":4},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"EndpointName
|
| 1302 |
+
(array)","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":5},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"XLogP","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":6},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"BioPathway","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":7},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"ToxicityInfo","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":8},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"KnownUse","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":9},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"DisorderDisease","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"listitem","version":1,"value":10}],"direction":"ltr","format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}'
|
| 1303 |
+
theme: blue
|
| 1304 |
+
title: ''
|
| 1305 |
+
type: ''
|
| 1306 |
+
width: 240
|
| 1307 |
+
height: 313
|
| 1308 |
+
id: '1767840394126'
|
| 1309 |
+
position:
|
| 1310 |
+
x: 1333.4346977734529
|
| 1311 |
+
y: 348.5336086752951
|
| 1312 |
+
positionAbsolute:
|
| 1313 |
+
x: 1333.4346977734529
|
| 1314 |
+
y: 348.5336086752951
|
| 1315 |
+
selected: false
|
| 1316 |
+
sourcePosition: right
|
| 1317 |
+
targetPosition: left
|
| 1318 |
+
type: custom-note
|
| 1319 |
+
width: 240
|
| 1320 |
+
- data:
|
| 1321 |
+
answer: '{{#1766991784354.text#}}'
|
| 1322 |
+
selected: false
|
| 1323 |
+
title: 直接回复
|
| 1324 |
+
type: answer
|
| 1325 |
+
variables: []
|
| 1326 |
+
height: 103
|
| 1327 |
+
id: '1767855070087'
|
| 1328 |
+
position:
|
| 1329 |
+
x: 1646.1219573130559
|
| 1330 |
+
y: 225.66582435729447
|
| 1331 |
+
positionAbsolute:
|
| 1332 |
+
x: 1646.1219573130559
|
| 1333 |
+
y: 225.66582435729447
|
| 1334 |
+
selected: false
|
| 1335 |
+
sourcePosition: right
|
| 1336 |
+
targetPosition: left
|
| 1337 |
+
type: custom
|
| 1338 |
+
width: 242
|
| 1339 |
+
viewport:
|
| 1340 |
+
x: -144.18189046189343
|
| 1341 |
+
y: 339.1238578285847
|
| 1342 |
+
zoom: 0.5082738555450903
|
| 1343 |
+
rag_pipeline_variables: []
|