OpenBMB / ToolBench

[ICLR'24 spotlight] An open platform for training, serving, and evaluating large language model for tool learning.
https://openbmb.github.io/ToolBench/
Apache License 2.0
4.79k stars 406 forks source link

请问微调过的向量模型是只用到了英文?支持中文吗? #66

Closed zaczou closed 1 year ago

zaczou commented 1 year ago

问题2:向量模型不是只编码api description,而是整个api信息? 编码如下信息: "{""category_name"": ""Business"", ""tool_name"": ""USPTO Trademark"", ""api_name"": ""/v1/trademarkSearch"", ""api_description"": ""Does a keyword search and returns trademark name, serial number,services code, status, owner, address, filing date and registration date."", ""required_parameters"": [{""name"": ""keyword"", ""type"": ""string"", ""description"": """", ""default"": ""amazon""}, {""name"": ""searchType"", ""type"": ""ENUM"", ""description"": ""Default searchType is \\""active\\"", which don't include Dead trademarks, but if you set \\""all\\"" you see also expired trademarks. "", ""default"": """"}], ""optional_parameters"": [], ""method"": ""GET"", ""template_response"": {""count"": ""int"", ""items"": [{""keyword"": ""str"", ""registration_number"": ""str"", ""serial_number"": ""str"", ""status_label"": ""str"", ""status_code"": ""str"", ""status_date"": ""str"", ""status_definition"": ""str"", ""filing_date"": ""str"", ""registration_date"": ""str"", ""abandonment_date"": ""NoneType"", ""expiration_date"": ""str"", ""description"": ""str"", ""owners"": [{""index"": ""int"", ""owner_type"": ""str"", ""owner_label"": ""str"", ""legal_entity_type"": ""str"", ""legal_entity_type_label"": ""str"", ""name"": ""str"", ""address1"": ""str"", ""address2"": ""str"", ""city"": ""str"", ""state"": ""str"", ""country"": ""str"", ""postcode"": ""str"", ""_list_length"": 1}], ""_list_length"": 250}]}}"

thuqinyj16 commented 1 year ago

目前只支持英文,我们后续会把中文也支持上来

是编码整个api信息,不只是description。论文中的api description包括了各种metadata信息