ModelEngine-Group / ModelEngine-Group/nexent
[Document] 如何第三方使用/api/nb/v1/knowledge/indices/search/hybrid
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.9k
- Forks
- 731
- Avg merge
- 19h 34m
- Merged PRs (30d)
- 172
Description
Document Change Description
curl -X 'POST'
-H "Authorization: Bearer nexent-4f2138712efa32181332481d"
'http://192.168.10.102:5013/api/nb/v1/knowledge/indices/search/hybrid'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{
"query": "测试",
"index_names": [
"测试知识库"
],
"top_k": 10,
"weight_accurate": 0.5
}'
nexent-4f2138712efa32181332481d 是用户信息的秘钥,但是无法返回结果,返回结果:
{"message":"This endpoint is restricted to asset administrators."}
角色开发者和管理员都不行。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the POST /api/nb/v1/knowledge/indices/search/hybrid request and its “restricted to asset administrators” response. Check the endpoint’s documented role and credential requirements, then update the relevant API documentation with supported third-party access and a working request example. Done means the permissions and expected response are unambiguous.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, authorization, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100