Collection Schemas
Collection schemas describe the expected structure of a set of documents, or a set of entities that you’d want associated with each individual document for filtering purposes.
For example, a set of sales call transcripts could have a Client Name field. A schema is a way to specify the expected structure to Credal so that we can filter data and only send the relevant pieces of information to the LLM. They can be specified by pressing the Add Schema button on any document collection and specifying the expected fields and their type.
If you specify that a field “Has a fixed set of values”, then for metadata that is NOT AI Entity Extracted, Credal will automatically determine the set of possible values at query time. If there are a large number of entities, Credal may not be able to determine the set of values and may skip this step.