ベクトルデータベース
Delphi からベクトルデータベースに接続し、セマンティック検索、RAG、AI を活用したアプリケーションを構築できます。Pinecone などに対応しています。
Delphi からベクトルデータベースに接続し、セマンティック検索、RAG、AI を活用したアプリケーションを構築できます。Pinecone などに対応しています。
uses
sgcAI_VectorDB;
var
VectorDB: TsgcAIVectorDB;
begin
VectorDB := TsgcAIVectorDB.Create(nil);
VectorDB.Provider := vdbPinecone;
VectorDB.ApiKey := 'your-api-key';
VectorDB.Upsert('index-1', Embeddings, Metadata);
Results := VectorDB.Query('index-1', QueryVector, 10);
end;