coze-dev / coze-dev/coze-studio

创建知识库文件和修改知识库文件接口不支持设置按层级分类

Open
#2,547 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

目前/knowledge/document/create接口和/knowledge/document/update 均不支持chunk_type为2的类型,导致需要使用该分段策略时,只能手动选择。希望能够尽快支持该参数

Contributor guide

Open the contributing guide

Research direction

Start by locating the handlers and request validation for /knowledge/document/create and /knowledge/document/update, then trace how chunk_type is processed. Verify the existing behavior for chunk_type 2 and add or update the relevant API tests. Done means both interfaces accept chunk_type 2 so hierarchical classification can be selected through the API.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.