ReferenceAsk
Remy Reference/admin/Create a data source
?

Create a data source

Creates a corpus explicitly, fixing its placement and chunking before the first document is added.
admin.dataSources.create({ slug, name?, placement?, ingest? })

Creates a corpus without adding a document, so its placement and chunking are settled before the first load. add and search create a corpus on their own with defaults, so reach for create only when you want to choose the resource it lives on, or its chunking, up front. Placement is shared by default, or the id of a dedicated resource.

Parameters
--source
string
RequiredCorpus slug to create.
--name
string
Human-facing label for the corpus.
--placement
resource-id|shared
Where the corpus lives: a dedicated resource id, or "shared" (the default).
CLI
remy-admin datasources create --source policies --name 'Company policies'