File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
snippets/general-shared-text Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 2323 allowfullscreen
2424 ></iframe >
2525
26- Weaviate requires the collection to have a data schema before you add data. However, you don't have to create a data schema manually.
27- If you don't provide one, Weaviate generates a schema based on the incoming data.
26+ Weaviate requires the collection to have a data schema before you add data. At minimum, this schema must contain the ` record_id ` property, as follows:
2827
29- However, if you have specific schema requirements, you can create the schema manually.
28+ ``` json
29+ {
30+ "class" : " Elements" ,
31+ "properties" : [
32+ {
33+ "name" : " record_id" ,
34+ "dataType" : [" text" ]
35+ }
36+ ]
37+ }
38+ ```
39+
40+ Weaviate generates any additional properties based on the incoming data.
41+
42+ If you have specific schema requirements, you can define the schema manually.
3043Unstructured cannot provide a schema that is guaranteed to work for everyone in all circumstances.
3144This is because these schemas will vary based on
3245your source files' types; how you want Unstructured to partition, chunk, and generate embeddings;
@@ -38,6 +51,10 @@ You can adapt the following collection schema example for your own specific sche
3851{
3952 "class" : " Elements" ,
4053 "properties" : [
54+ {
55+ "name" : " record_id" ,
56+ "dataType" : [" text" ]
57+ },
4158 {
4259 "name" : " element_id" ,
4360 "dataType" : [" text" ]
You can’t perform that action at this time.
0 commit comments