Originally created by @DerrickA1st on GitHub (Feb 11, 2025).
Following the "API Endpoints" documents on your official website, I was trying to realize "Adding Files to Knowledge Collections", using Postman as a tool to test API. Here are some difficulties puzzling me.
In the Endpoint: "POST /api/v1/knowledge/{id}/file/add" , what is the meaning of "knowledge"? and the "id"? Do I need to create the "knowledge" collection manually?or it will generate automatically? Besides, what does this "id" refer to ? or I should ask:where should I find this "knowledge_id"?
2.In this "curl example" what does the "file_id" mean? I successfully upload a file and got a response, but I don't know which param represent "file id"? is it "id","filename"or"collection_name"?
Originally created by @DerrickA1st on GitHub (Feb 11, 2025).
Following the "API Endpoints" documents on your official website, I was trying to realize "Adding Files to Knowledge Collections", using Postman as a tool to test API. Here are some difficulties puzzling me.
1. In the Endpoint: "POST /api/v1/knowledge/{id}/file/add" , what is the meaning of "knowledge"? and the "id"? Do I need to create the "knowledge" collection manually?or it will generate automatically? Besides, what does this "id" refer to ? or I should ask:where should I find this "knowledge_id"?
2.In this "curl example" what does the "file_id" mean? I successfully upload a file and got a response, but I don't know which param represent "file id"? is it "id","filename"or"collection_name"?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @DerrickA1st on GitHub (Feb 11, 2025).
Following the "API Endpoints" documents on your official website, I was trying to realize "Adding Files to Knowledge Collections", using Postman as a tool to test API. Here are some difficulties puzzling me.
2.In this "curl example" what does the "file_id" mean? I successfully upload a file and got a response, but I don't know which param represent "file id"? is it "id","filename"or"collection_name"?