1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
// This file is autogenerated, DO NOT EDIT
// inference/service-jinaai.asciidoc:204
[source, python]
----
resp = client.bulk(
index="jinaai-index",
operations=[
{
"index": {
"_index": "jinaai-index",
"_id": "1"
}
},
{
"content": "Sarah Johnson is a talented marine biologist working at the Oceanographic Institute. Her groundbreaking research on coral reef ecosystems has garnered international attention and numerous accolades."
},
{
"index": {
"_index": "jinaai-index",
"_id": "2"
}
},
{
"content": "She spends months at a time diving in remote locations, meticulously documenting the intricate relationships between various marine species. "
},
{
"index": {
"_index": "jinaai-index",
"_id": "3"
}
},
{
"content": "Her dedication to preserving these delicate underwater environments has inspired a new generation of conservationists."
}
],
)
print(resp)
----
|