Weaviate で別のものへの相互参照を作成するにはどうすればよいですか?
以下のコードを試しましたが、エラー メッセージが表示されます (以下も参照)。
weaviateObj = {
"class": "Article",
"schema": {
"articleTitle": articlemeta.title,
"publisherId": articlemeta.publisherId,
"digitalObjectIdentifier": articlemeta.digitalObjectIdentifier,
"publishedInJournal": {
"beacon" : WEAVIATE_URL + "/v1/things/" + journaluuid
}
}
}
r = runREST(WEAVIATE_URL + "/v1/things", weaviateObj, 0, "POST")
エラー:
{
"error": [
{
"message": "invalid thing: invalid cref: reference must be an array, but got a map: map[string]interface {}{\"beacon\":\"http://localhost:8080/v1/things/7d60395e-db76-4401-9994-692ce0f5b10d\"}"
}
]
}