Update langchain-pinecone dependency and add Pinecone API key (#1854)

* Update langchain-pinecone dependency and related code

* Add Pinecone API key to environment variables

* Fix commented out code in codeTabsComponent, parameterComponent, and editNodeModal

* Add PineconeSearchComponent to PineconeSearch.py

* Update PineconeComponent to accept pinecone_api_key as optional parameter
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-05-07 17:46:54 -03:00 • committed by GitHub
commit 21be1268ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 131 additions and 33 deletions

View file

@ -749,7 +749,7 @@ export default function CodeTabsComponent({
templateField
].value.toString() === "{}"
? {
yourkey: "value",
// yourkey: "value",
}
: node.data.node!
.template[

View file

@ -715,7 +715,7 @@ export default function ParameterComponent({
!data.node!.template[name].value ||
data.node!.template[name].value?.toString() === "{}"
? {
yourkey: "value",
// yourkey: "value",
}
: data.node!.template[name].value
}

View file

@ -285,7 +285,7 @@ const EditNodeModal = forwardRef(
templateParam
]?.value?.toString() === "{}"
? {
yourkey: "value",
// yourkey: "value",
}
: myData.node!.template[templateParam]
.value