Skip to content

Commit bdaf689

Browse files
authored
Merge branch 'main' into fixes
2 parents 88288f8 + 5f38c7b commit bdaf689

File tree

8 files changed

+36
-36
lines changed

8 files changed

+36
-36
lines changed

03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ We'll use the Microsoft.Extension.AI along with the [Microsoft.Extensions.Vector
6262
[VectorStoreData]
6363
public string Description { get; set; }
6464

65-
[VectorStoreVector(384, DistanceFunction = DistanceFunction.CosineSimilarity)]
65+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
6666
public ReadOnlyMemory<float> Vector { get; set; }
6767
}
6868
```

translations/de/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ Wir verwenden Microsoft.Extension.AI zusammen mit den Bibliotheken [Microsoft.Ex
4646
```csharp
4747
public class Movie
4848
{
49-
[VectorStoreRecordKey]
49+
[VectorStoreKey]
5050
public int Key { get; set; }
5151

52-
[VectorStoreRecordData]
52+
[VectorStoreData]
5353
public string Title { get; set; }
5454

55-
[VectorStoreRecordData]
55+
[VectorStoreData]
5656
public string Description { get; set; }
5757

58-
[VectorStoreRecordVector(384, DistanceFunction.CosineSimilarity)]
58+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
5959
public ReadOnlyMemory<float> Vector { get; set; }
6060
}
6161
```
6262

63-
Mit Attributen wie `[VectorStoreRecordKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
63+
Mit Attributen wie `[VectorStoreKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
6464

6565
2. Of course we're going to need that knowledge data populated. Create a list of `Movie` objects, and create an `InMemoryVectorStore`, die eine Sammlung von Filmen enthalten wird.
6666

translations/fr/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ Nous utiliserons la bibliothèque Microsoft.Extension.AI ainsi que [Microsoft.Ex
4646
```csharp
4747
public class Movie
4848
{
49-
[VectorStoreRecordKey]
49+
[VectorStoreKey]
5050
public int Key { get; set; }
5151

52-
[VectorStoreRecordData]
52+
[VectorStoreData]
5353
public string Title { get; set; }
5454

55-
[VectorStoreRecordData]
55+
[VectorStoreData]
5656
public string Description { get; set; }
5757

58-
[VectorStoreRecordVector(384, DistanceFunction.CosineSimilarity)]
58+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
5959
public ReadOnlyMemory<float> Vector { get; set; }
6060
}
6161
```
6262

63-
En utilisant des attributs comme `[VectorStoreRecordKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
63+
En utilisant des attributs comme `[VectorStoreKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
6464

6565
2. Of course we're going to need that knowledge data populated. Create a list of `Movie` objects, and create an `InMemoryVectorStore`, nous aurons une collection de films.
6666

translations/ja/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ RAG アーキテクチャには主に2つのフェーズがあります: **検
4646
```csharp
4747
public class Movie
4848
{
49-
[VectorStoreRecordKey]
49+
[VectorStoreKey]
5050
public int Key { get; set; }
5151

52-
[VectorStoreRecordData]
52+
[VectorStoreData]
5353
public string Title { get; set; }
5454

55-
[VectorStoreRecordData]
55+
[VectorStoreData]
5656
public string Description { get; set; }
5757

58-
[VectorStoreRecordVector(384, DistanceFunction.CosineSimilarity)]
58+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
5959
public ReadOnlyMemory<float> Vector { get; set; }
6060
}
6161
```
6262

63-
`[VectorStoreRecordKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
63+
`[VectorStoreKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
6464

6565
2. Of course we're going to need that knowledge data populated. Create a list of `Movie` objects, and create an `InMemoryVectorStore` のような属性を使用して、映画のコレクションを持つことができます。
6666

translations/ko/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ RAG 아키텍처에는 두 가지 주요 단계가 있습니다: **검색(Retrie
4646
```csharp
4747
public class Movie
4848
{
49-
[VectorStoreRecordKey]
49+
[VectorStoreKey]
5050
public int Key { get; set; }
5151

52-
[VectorStoreRecordData]
52+
[VectorStoreData]
5353
public string Title { get; set; }
5454

55-
[VectorStoreRecordData]
55+
[VectorStoreData]
5656
public string Description { get; set; }
5757

58-
[VectorStoreRecordVector(384, DistanceFunction.CosineSimilarity)]
58+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
5959
public ReadOnlyMemory<float> Vector { get; set; }
6060
}
6161
```
6262

63-
`[VectorStoreRecordKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
63+
`[VectorStoreKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
6464

6565
2. Of course we're going to need that knowledge data populated. Create a list of `Movie` objects, and create an `InMemoryVectorStore`와 같은 속성을 사용하여 영화 컬렉션을 포함한 인메모리 벡터 저장소를 구성합니다.
6666

translations/pt/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ Usaremos o Microsoft.Extension.AI junto com as bibliotecas [Microsoft.Extensions
4646
```csharp
4747
public class Movie
4848
{
49-
[VectorStoreRecordKey]
49+
[VectorStoreKey]
5050
public int Key { get; set; }
5151

52-
[VectorStoreRecordData]
52+
[VectorStoreData]
5353
public string Title { get; set; }
5454

55-
[VectorStoreRecordData]
55+
[VectorStoreData]
5656
public string Description { get; set; }
5757

58-
[VectorStoreRecordVector(384, DistanceFunction.CosineSimilarity)]
58+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
5959
public ReadOnlyMemory<float> Vector { get; set; }
6060
}
6161
```
6262

63-
Usando os atributos como `[VectorStoreRecordKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
63+
Usando os atributos como `[VectorStoreKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
6464

6565
2. Of course we're going to need that knowledge data populated. Create a list of `Movie` objects, and create an `InMemoryVectorStore`, que terá uma coleção de filmes.
6666

translations/tw/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ RAG 架構主要包含兩個階段:**檢索** 和 **生成**。
4646
```csharp
4747
public class Movie
4848
{
49-
[VectorStoreRecordKey]
49+
[VectorStoreKey]
5050
public int Key { get; set; }
5151

52-
[VectorStoreRecordData]
52+
[VectorStoreData]
5353
public string Title { get; set; }
5454

55-
[VectorStoreRecordData]
55+
[VectorStoreData]
5656
public string Description { get; set; }
5757

58-
[VectorStoreRecordVector(384, DistanceFunction.CosineSimilarity)]
58+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
5959
public ReadOnlyMemory<float> Vector { get; set; }
6060
}
6161
```
6262

63-
使用類似 `[VectorStoreRecordKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
63+
使用類似 `[VectorStoreKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
6464

6565
2. Of course we're going to need that knowledge data populated. Create a list of `Movie` objects, and create an `InMemoryVectorStore` 的屬性,這將包含一系列的電影。
6666

translations/zh/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ RAG 架构主要分为两个阶段:**检索** 和 **生成**。
4646
```csharp
4747
public class Movie
4848
{
49-
[VectorStoreRecordKey]
49+
[VectorStoreKey]
5050
public int Key { get; set; }
5151

52-
[VectorStoreRecordData]
52+
[VectorStoreData]
5353
public string Title { get; set; }
5454

55-
[VectorStoreRecordData]
55+
[VectorStoreData]
5656
public string Description { get; set; }
5757

58-
[VectorStoreRecordVector(384, DistanceFunction.CosineSimilarity)]
58+
[VectorStoreVector(384, DistanceFunction.CosineSimilarity)]
5959
public ReadOnlyMemory<float> Vector { get; set; }
6060
}
6161
```
6262

63-
使用类似 `[VectorStoreRecordKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
63+
使用类似 `[VectorStoreKey]` makes it easier for the vector store implementations to map POCO objects to their underlying data models.
6464

6565
2. Of course we're going to need that knowledge data populated. Create a list of `Movie` objects, and create an `InMemoryVectorStore` 的属性,这将包含一组电影数据。
6666

0 commit comments

Comments
 (0)