Отказано в доступе к главному индексу
Мой код для создания индекса:
Код: Выделить всё
var client = new AmazonOpenSearchServerlessClient(awsCredentials, RegionEndpoint.XXX);
var indexBody = $@"{{
""name"": ""test-index"",
""type"": ""VECTORSEARCH"",
""collectionId"": ""{collection.Id}"",
""description"": ""Index created from C#"",
""dimension"": 1536
}}";
// I have tried different indexBody too
var request = new CreateIndexRequest
{
IndexName = "test-vector-index-csharp",
IndexSchema = indexBody,
Id = collection.Id
};
var response = client.CreateIndex(request);
Я ничего не смог найти об этой ошибке во время создания индекса.
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/798 ... of-a-vecto
Мобильная версия