16 lines
364 B
C#
16 lines
364 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
using MongoDB.Bson;
|
|
|
|
namespace ChatApi
|
|
{
|
|
public class TextoComEmbedding
|
|
{
|
|
[BsonId]
|
|
[BsonElement("_id")]
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
public string Id { get; set; }
|
|
|
|
public string Conteudo { get; set; }
|
|
public double[] Embedding { get; set; }
|
|
}
|
|
} |