coze-dev / coze-dev/coze-studio

加载Knowledge失败

Open
#2,482 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

**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**

Steps to reproduce the behavior:
1. 创建知识库
2. 上传本地文档, 点击“下一步”
3. 前端web页面就会出现“加载knowledge失败”,前端web没有出现文档切片的结果
4. docker logs coze-server, 可以看到“Pdf parse done”,但是切片貌似没有完成

**Expected behavior**

能够成功利用本地文档创建知识库,找到问题原因

**Screenshots**

If applicable, add screenshots to help explain your problem.

**Version:**

coze-studio-0.5.0

**Environment:**

The output of `go env`.

[root@node70 /home/coze]# go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/root/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/golang"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_arm64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build268750838=/tmp/go-build -gno-record-gcc-switches"

**Additional context**

Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating a knowledge base, uploading a local document, and selecting “Next” in the web UI. Start with the coze-server Docker logs and compare the “Pdf parse done” message with the missing document chunks shown in the frontend. Done means local documents create a knowledge base successfully and chunk results appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, typescript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.