知识库创建接口调用返回异常 #721
Unanswered
masaaki-rabbit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
你好,我在调用接口文档中知识库创建接口,
http://ip:port/api/v2/filelib/时,接口返回服务异常,但是创建知识库成功了,查看源码src/backend/bisheng/api/v2/filelib.py中creat方法调用了create_knowledge_hook(db_knowledge, user_payload),传值两个参数,但在引用处查看src/backend/bisheng/api/v1/knowledge.py中create_knowledge_hook(request: Request, knowledge: Knowledge, login_user: UserPayload),需要三个参数Beta Was this translation helpful? Give feedback.
All reactions