FCALC
  1. LCI API
FCALC
  • CALC API
    • 碳排放计算接口
      POST
  • LCI API
    • 创建LCI数据集
      POST
    • 更新LCI数据集
      PUT
    • 获取所有LCI数据集
      GET
    • 删除LCI数据集
      DELETE
    • 导入LCI数据
      POST
    • 分片查询LCI数据
      POST
    • LCI向量嵌入
      POST
    • LCI向量近似查询
      POST
    • LCI向量近似查询
      POST
  • LCIA API
    • 创建LCIA数据集
      POST
    • 更新LCIA数据集
      PUT
    • 获取所有LCIA数据集
      GET
    • 删除LCIA数据集
      DELETE
    • 导入LCIA数据
      POST
    • 分片查询LCIA数据
      POST
  • METHOD API
    • 创建计算方法
      POST
    • 获取所有计算方法
      GET
    • 更新计算方法
      PUT
    • 删除计算方法
      DELETE
    • 重新计算LCI方法
      PUT
  • AICHAT(TEMP)
    • 文档解析
      POST
    • 文档分析
      POST
  • CHROMA
  1. LCI API

LCI向量近似查询

Developing
开发环境
http://localhost:9000
开发环境
http://localhost:9000
POST
/lci/similarity

Request

Body Params application/json
datasetIds
array[string]
数据集ID集合
required
names
array[string]
匹配名称集合
required
limit
integer 
匹配数量
required
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
Previous
LCI向量近似查询
Next
创建LCIA数据集
Built with