curl --location 'http://localhost:8888/backend/knowldgebase/:bot_id' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"sources": ["https://en.wikipedia.org/wiki/Huffman_coding", "https://example.com/file.pdf"]
}'
[
{
"message": "Knowledge has been queued for ingestion"
}
]
Ingest knowledge into the copilot.
curl --location 'http://localhost:8888/backend/knowldgebase/:bot_id' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"sources": ["https://en.wikipedia.org/wiki/Huffman_coding", "https://example.com/file.pdf"]
}'
[
{
"message": "Knowledge has been queued for ingestion"
}
]
curl --location 'http://localhost:8888/backend/knowldgebase/:bot_id' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"sources": ["https://en.wikipedia.org/wiki/Huffman_coding", "https://example.com/file.pdf"]
}'
[
{
"message": "Knowledge has been queued for ingestion"
}
]
Was this page helpful?