POST
/
backend
/
knowledgebase
/
ingest
/
files
curl --location 'https://api.opencopilot.so/backend/knowledgebase/ingest/files' \
--header 'Authorization: Bearer <token>' \
--form 'files=@"postman-cloud:///1eee6393-a599-4da0-890f-533c80664711"' \
--form 'bot_id="bcfd9096-b947-49fb-888c-232858de7ca0"'

Ingest Knowledge

Knowledge is any information that the copilot can use to answer questions. as for now, the copilot can ingest knowledge in the following formats:

  • Website: Refer Web Crawl section for more details.
  • Files: you can provide a list of files to ingest, the copilot will ingest the content of the files into its knowledge base, currently, the copilot supports the following file types:
    • PDF
    • Markdown
    • CSV

Important: This endpoint is in alpha and may change in the future. Please report any issues or feedback to the issue tracker.