Skip to content

Releases: pinecone-io/cli

v0.0.52

30 Sep 16:03
7d1c69f
Compare
Choose a tag to compare

Deletion Protection and Configuring Indexes

The Pinecone CLI now supports the ability to configure indexes with deletionProtection enabled. The pinecone index configure command has also been added to support configuring indexes after creation.

pinecone index list
pinecone index create-pod -n "test-cli-create-pod" -d 3 -m "cosine" -e "us-east-1-aws" -t "p1.x1" --deletion_protection "enabled"
pinecone index configure -n "test-cli-create_pod" -p "disabled"
pinecone index describe --name test-cli-create-pod

PINECONE_API_KEY and PINECONE_ENVIRONMENT

The CLI also now supports additional environment variables for configuration:

  • PINECONE_API_KEY will be read from the environment and allow interacting with indexes and collections without needing to call pinecone login or pinecone config set-api-key.
  • PINECONE_ENVIRONMENT allows setting either production or staging and avoiding needing to call pinecone config set-environment.

For both of the above configuration values, if there is an environment variable set and you call the corresponding pinecone config command, it will override whatever is set in the environment.

Changelog

  • 7d1c69f Read API key from environment (#17)
  • a9a6066 Support DeletionProtection, index configure command, and bump go-pinecone from v0.5.0 -> v1.1.0 (#16)

v0.0.51

30 Sep 15:33
7d1c69f
Compare
Choose a tag to compare

Changelog

  • 7d1c69f Read API key from environment (#17)
  • a9a6066 Support DeletionProtection, index configure command, and bump go-pinecone from v0.5.0 -> v1.1.0 (#16)

v0.0.50

16 Aug 21:08
81f7555
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.49...v0.0.50

v0.0.49

18 Jun 22:39
Compare
Choose a tag to compare

Changelog

  • 3c6a482 organize the assistant command folder, make chat its own sub-command, allow users to request the chat id specifically through the describe command
  • 333d7cf update collection presenter to handle non-pointer integer types

v0.0.48

18 Jun 04:49
Compare
Choose a tag to compare

Changelog

  • 9b0b919 add basic wrapping to the printing when streaming a chat response
  • cf5c097 instead of marshaling to JSON and then into a buffer, just use a buffer when building the request body
  • 05f0851 update PostMultipartFormDataAndDecode to use buildRequest

v0.0.47

16 Jun 18:31
Compare
Choose a tag to compare

Changelog

  • 895319d add helper function for manipulating headers for outgoing requests - supports applying specific headers necessary for assistants routes when using OAuth
  • dd6296f add simple spinner to chat completion requests
  • 584300a update authorization flows allowing assistants to share the same auth paths as indexes - login vs. api key should both work for both if provided, get rid of the boolean controlling auth
  • 3898d7f update flag from name to assistant for chat and describe commands
  • 702d904 update network calls to allow assistant requests to use the OAuth token if login flow was used, update headers applied to outgoing requests

v0.0.46

14 Jun 14:11
Compare
Choose a tag to compare

Changelog

  • c53d16a update chat/completions endpoint to allow passing a stream boolean, and handling a streaming response

v0.0.45

13 Jun 00:30
Compare
Choose a tag to compare

Changelog

  • d6adc41 add interactive assistant targeting, clear targeted assistant if deleted, further cleanup of knowledge -> assistant naming, reorganize assistant sub-commands
  • cbd6022 additional naming cleanup, code readability chores
  • df3b100 fix display for individual chat responses, rename and update presenters for chat structs, rename and cleanup chores
  • 2ea8f97 rename KnowledgeModels to Assistants, update file struct to have size
  • 54efefa update staging vs non-staging assistant routes, update relevant struct fields to match the new payloads being returned, clean up some of our logging

v0.0.44

11 Jun 07:10
Compare
Choose a tag to compare

Changelog

  • ecdd185 fix issue with project delete trying to instantiate the sdk client
  • 540bcc9 rename km and knowledge packages to assistant and assistants, update associated code paths
  • 326b2d7 update staging URL with new naming schema, add helpers for staging vs production targeting

v0.0.43

11 Jun 00:15
Compare
Choose a tag to compare

Changelog

  • 65d5cd5 Add troubleshooting tips to CONTRIBUTING
  • a409615 Adjust messages
  • bd515b5 Make "config set-environment" hidden
  • 9ffc814 Merge pull request #5 from pinecone-io/jhamon/bearer-token-refactor
  • f3a0653 Refactor to pass JWT token and project id header
  • 717975b Show informative error if attempting to set target without login state
  • a67ba04 Show warning when both logged in and using api key
  • 9585713 Update issue templates
  • ab4a603 Update issue templates