Skip to content

Commit a6ec987

Browse files
committed
Make using the latest version a mandatory requirement
1 parent cfddc0c commit a6ec987

File tree

5 files changed

+54
-7
lines changed

5 files changed

+54
-7
lines changed

.agents/PINECONE-go.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This guide provides Go-specific patterns, examples, and best practices for the P
66

77
## Installation & Setup
88

9+
> **⚠️ IMPORTANT**: See [PINECONE.md](./PINECONE.md#-mandatory-always-use-latest-version) for the mandatory requirement to always use the latest version when creating projects.
10+
911
### Go Module Installation
1012

1113
```bash
@@ -44,8 +46,6 @@ go get -u github.com/pinecone-io/go-pinecone/pinecone
4446
go mod tidy
4547
```
4648

47-
> **⚠️ Best Practice**: Always use the latest version of the Pinecone SDK unless the user explicitly requests a specific version. Check the latest version using the methods above and update your installation accordingly.
48-
4949
### Go Imports
5050

5151
```go

.agents/PINECONE-java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This guide provides Java-specific patterns, examples, and best practices for the
66

77
## Installation & Setup
88

9+
> **⚠️ IMPORTANT**: See [PINECONE.md](./PINECONE.md#-mandatory-always-use-latest-version) for the mandatory requirement to always use the latest version when creating projects.
10+
911
### Finding the Latest Version
1012

1113
**Check latest version on Maven Central:**
@@ -59,8 +61,6 @@ gradle dependencies | grep pinecone-client
5961
# Or browse Maven Central directly
6062
```
6163

62-
> **⚠️ Best Practice**: Always use the latest version of the Pinecone SDK unless the user explicitly requests a specific version. Check the latest version using the methods above and update your dependency configuration accordingly.
63-
6464
### Java Imports
6565

6666
```java

.agents/PINECONE-python.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This guide provides Python-specific patterns, examples, and best practices for t
66

77
## Installation & Setup
88

9+
> **⚠️ IMPORTANT**: See [PINECONE.md](./PINECONE.md#-mandatory-always-use-latest-version) for the mandatory requirement to always use the latest version when creating projects.
10+
911
### Current API (2025)
1012

1113
```python
@@ -43,7 +45,42 @@ pip show pinecone
4345
pip install --upgrade pinecone
4446
```
4547

46-
> **⚠️ Best Practice**: Always use the latest version of the Pinecone SDK unless the user explicitly requests a specific version. Check the latest version using the methods above and update your installation accordingly.
48+
### Dependency Management
49+
50+
**⚠️ CRITICAL - Package Name**: Always use `pinecone` (NOT `pinecone-client`). The `pinecone-client` package is deprecated and will cause runtime errors.
51+
52+
**requirements.txt:**
53+
54+
```txt
55+
pinecone
56+
```
57+
58+
**pyproject.toml (PEP 621):**
59+
60+
```toml
61+
[project]
62+
dependencies = ["pinecone"]
63+
```
64+
65+
**pyproject.toml (Poetry):**
66+
67+
```toml
68+
[tool.poetry.dependencies]
69+
pinecone = "^7.0.0"
70+
```
71+
72+
**setup.py:**
73+
74+
```python
75+
install_requires=["pinecone"]
76+
```
77+
78+
**Pipfile (pipenv):**
79+
80+
```toml
81+
[packages]
82+
pinecone = "*"
83+
```
4784

4885
### Environment Configuration
4986

.agents/PINECONE-typescript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This guide provides TypeScript/Node.js-specific patterns, examples, and best pra
66

77
## Installation & Setup
88

9+
> **⚠️ IMPORTANT**: See [PINECONE.md](./PINECONE.md#-mandatory-always-use-latest-version) for the mandatory requirement to always use the latest version when creating projects.
10+
911
### Package Installation
1012

1113
```bash
@@ -53,8 +55,6 @@ npm update @pinecone-database/pinecone
5355
yarn upgrade @pinecone-database/pinecone
5456
```
5557

56-
> **⚠️ Best Practice**: Always use the latest version of the Pinecone SDK unless the user explicitly requests a specific version. Check the latest version using the methods above and update your installation accordingly.
57-
5858
### TypeScript Imports
5959

6060
```typescript

.agents/PINECONE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ Determine the primary programming language by checking for these files:
5454
> - **SDK**: Check package files or use language-specific verification commands
5555
> - Only prompt for installation when verification shows it's missing
5656
57+
### ⚠️ MANDATORY: Always Use Latest Version
58+
59+
**REQUIREMENT**: When creating new projects or adding Pinecone dependencies, you MUST:
60+
61+
1. **Check the latest version** using language-specific methods (see Installation & Setup sections in language-specific guides)
62+
2. **Use the latest version** in dependency files (package.json, requirements.txt, go.mod, pom.xml, etc.)
63+
3. **Only pin to a specific version** if the user explicitly requests it
64+
65+
**DO NOT** use outdated or example version numbers. Always query for the current latest version before generating dependency files. See language-specific guides below for how to check the latest version for each language.
66+
5767
**ALWAYS use the current SDK:**
5868

5969
- **Python**: `pip install pinecone` (not `pinecone-client`)

0 commit comments

Comments
 (0)