mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-13 04:22:35 +00:00
Added Pinecone Memory Adapter
This commit is contained in:
parent
2e5e46d896
commit
c2d74188ee
3 changed files with 226 additions and 0 deletions
17
llama_stack/providers/adapters/memory/pinecone/config.py
Normal file
17
llama_stack/providers/adapters/memory/pinecone/config.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue