pinecone 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pinecone.rb +2 -44
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fbad389aa69ef30fb84c23a3f35097daf741984fd17248bff03ffb1fbc0b1e80
|
|
4
|
+
data.tar.gz: fb84e007e55cb7cb614de5d095878e6dfa310e4f17dc63b340d15dd058203ac0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6560ed5b805e5e9de4e9149def0046318f6921cb162b4037993973596db4834432a6e6caba3be1ec3bc7d7df4919c309e2170a9f28950518af482934e1cd79e
|
|
7
|
+
data.tar.gz: aafb6ab8087f2d1c89278ec9d06880a270c7ea726773fd921e28170f839629eac9c3ad7eb43097c17323d91ce8996713b29d469d5a38f2bdb5f2f42647c34ef1
|
data/lib/pinecone.rb
CHANGED
|
@@ -3,6 +3,7 @@ require "httparty"
|
|
|
3
3
|
require "pinecone/client"
|
|
4
4
|
require "pinecone/index"
|
|
5
5
|
require "pinecone/vector"
|
|
6
|
+
require "pinecone/collection"
|
|
6
7
|
require "pinecone/version"
|
|
7
8
|
|
|
8
9
|
module Pinecone
|
|
@@ -47,47 +48,4 @@ module Pinecone
|
|
|
47
48
|
def self.configure
|
|
48
49
|
yield(configuration)
|
|
49
50
|
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
# Vector Operations
|
|
53
|
-
|
|
54
|
-
# # GET Describe Index Stats
|
|
55
|
-
# https://index_name-project_id.svc.environment.pinecone.io/describe_index_stats
|
|
56
|
-
|
|
57
|
-
# # POST Describe Index Stats
|
|
58
|
-
# https://index_name-project_id.svc.environment.pinecone.io/describe_index_stats
|
|
59
|
-
|
|
60
|
-
# # DELETE Delete Vectors
|
|
61
|
-
# https://index_name-project_id.svc.environment.pinecone.io/vectors/delete
|
|
62
|
-
|
|
63
|
-
# # POST Delete Vectors
|
|
64
|
-
# # The Delete operation deletes vectors, by id, from a single namespace.
|
|
65
|
-
# https://index_name-project_id.svc.environment.pinecone.io/vectors/delete
|
|
66
|
-
|
|
67
|
-
# # GET Fetch
|
|
68
|
-
# # The Fetch operation looks up and returns vectors, by ID, from a single namespace.
|
|
69
|
-
# https://index_name-project_id.svc.environment.pinecone.io/vectors/fetch
|
|
70
|
-
|
|
71
|
-
# # POST Update
|
|
72
|
-
# # The Update operation updates vector in a namespace.
|
|
73
|
-
# # If a value is included, it will overwrite the previous value.
|
|
74
|
-
# https://index_name-project_id.svc.environment.pinecone.io/vectors/update
|
|
75
|
-
|
|
76
|
-
# # GET list_collections
|
|
77
|
-
# https://controller.unknown.pinecone.io/collections
|
|
78
|
-
|
|
79
|
-
# POST create_collection
|
|
80
|
-
|
|
81
|
-
# GET describe_collection
|
|
82
|
-
|
|
83
|
-
# DELETE delete_collection
|
|
84
|
-
|
|
85
|
-
# GET list_indexes
|
|
86
|
-
|
|
87
|
-
# POST create_index
|
|
88
|
-
|
|
89
|
-
# GET describe_index
|
|
90
|
-
|
|
91
|
-
# DELETEdelete_index
|
|
92
|
-
|
|
93
|
-
# Patch configure_index
|
|
51
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pinecone
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Carleton
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ruby client library which includes index and vector operations to upload
|
|
14
14
|
embeddings into Pinecone and do similarity searches on them.
|