Added Pinecone Memory Adapter

This commit is contained in:
Sarthak Deshpande 2024-10-23 13:16:36 +05:30
parent 2e5e46d896
commit c2d74188ee
3 changed files with 226 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from pydantic import BaseModel
class PineconeRequestProviderData(BaseModel):
pinecone_api_key: str
class PineconeConfig(BaseModel):
dimensions: int
cloud: str
region: str