change document to text and binary content
This commit is contained in:
@@ -11,21 +11,21 @@ const documents: DocumentUpsert[] = [
|
||||
foo: 'bar',
|
||||
},
|
||||
type: 'demo',
|
||||
content: 'the cat is yellow',
|
||||
text: 'the cat is yellow',
|
||||
},
|
||||
{
|
||||
metadata: {
|
||||
foo: 'bar',
|
||||
},
|
||||
type: 'demo',
|
||||
content: 'the dog is blue',
|
||||
text: 'the dog is blue',
|
||||
},
|
||||
{
|
||||
metadata: {
|
||||
foo: 'baz',
|
||||
},
|
||||
source: 'test',
|
||||
content: 'the pig says hi',
|
||||
text: 'the pig says hi',
|
||||
type: 'demo',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user