- CALC API
- LCI API
- LCIA API
- METHOD API
- AICHAT(TEMP)
- CHROMA
LCI向量近似查询
Developing
开发环境
http://localhost:9000
开发环境
http://localhost:9000
POST
/lci/similarity
Request
Body Params application/json
datasetIds
array[string]
数据集ID集合
names
array[string]
匹配名称集合
limit
integer
匹配数量
Example
{
"datasetIds": [
"string"
],
"names": [
"string"
],
"limit": 0
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:9000/lci/similarity' \
--header 'Content-Type: application/json' \
--data-raw '{
"datasetIds": [
"string"
],
"names": [
"string"
],
"limit": 0
}'
Responses
🟢200成功
application/json
Body
code
integer
required
message
string
required
data
array [object {2}]
required
input
string
required
lciQryResult
array [object {8}]
required
timestamp
integer
required
Example
{
"code": 0,
"message": "string",
"data": [
{
"input": "string",
"lciQryResult": [
{
"lciDataId": "string",
"datasetId": "string",
"uuid": null,
"activityName": "string",
"geography": "string",
"referenceProductName": "string",
"referenceUnit": "string",
"referenceProductAmount": null
}
]
}
],
"timestamp": 0
}
Modified at 2025-03-25 07:12:20