Jen Hamon e106b632ee test(vectorstores): add unit tests for PineconeVectorStore entrypoints
## Purpose
Cover the public classmethods get_pinecone_index, from_texts, afrom_texts,
and from_existing_index with unit tests. These are the primary entrypoints
users call, but were only exercised by the credentialed integration suite.

## Solution
Add six unit tests that mock PineconeClient / PineconeAsyncioClient (using
existing spec-backed fixtures) to cover:
- get_pinecone_index: returns named index, raises on empty project, raises
  on unknown name (both ValueError branches)
- from_texts: orchestrates get_pinecone_index → constructor → add_texts
- from_existing_index: constructs store without invoking any embedding
- afrom_texts (async twin): constructs via index_name and delegates to aadd_texts
2026-06-15 18:12:53 +00:00
2026-05-18 17:52:13 -05:00
2025-04-26 13:00:39 +04:00
2025-02-18 14:39:23 -05:00
2025-02-19 12:10:01 -05:00

🦜🔗 LangChain Pinecone

This repository contains 1 package with Pinecone integrations with LangChain:

S
Description
Build LangChain applications with Pinecone
Readme MIT 6.3 MiB
Latest
2025-11-02 14:01:07 -05:00
Languages
Python 99.1%
Makefile 0.8%
Shell 0.1%