For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ“–Index Crawl

After a crawl completes and you are satisfied with the crawled pages, simply call index_crawl() to index all content into the collection.

POST /docs/index_crawl HTTP/1.1
Api-Key: my_api_key
Content-Type: application/json
Host: my_account_id.us-west-2.aws.chatbees.ai

{
  "namespace_name": "string",
  "collection_name": "string",
  "crawl_id": "string"
}

Response:
{}
import chatbees as cb

# Configure API key
cb.init(api_key="my_api_key", account_id="my_account_id")

col = cb.collection('llm_research')

col.index_crawl(crawl_id)

Last updated