llm_memory_pgvector 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2f5ddd879e687f5fbdf0639bcffb131246d0cb621903433ac07ecadfdcfc894c
4
+ data.tar.gz: a4cb48e9c9920fa999c1195485d1835f88298870c1eb361caecd1fe827c0e0c9
5
+ SHA512:
6
+ metadata.gz: 0e995c5601a65c2b689301d9722b1137feddcfa7323483e2cd341c840ad3ec2c456ddd27564a34c322ec46cc2e10cc78b72ce792f79afc9d7a893fcbc86d2835
7
+ data.tar.gz: e2703030b153cbced9406ae08831dd2e4064cb421da3f4f90028ccbe558a1686036ee818afd449c1f593fe67d2aadba23d29166fcccc6385bdcb23529429e52f
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ ruby_version: 2.6
@@ -0,0 +1,7 @@
1
+ {
2
+ "editor.formatOnSave": true,
3
+ "[ruby]": {
4
+ "editor.defaultFormatter": "testdouble.vscode-standard-ruby"
5
+ },
6
+ "standardRuby.autofix": true
7
+ }
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2023-05-16
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at shoheik@cpan.org. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in llm_memory_pgvector.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.0"
10
+ gem "standard", "~> 1.3"
11
+ gem "pg"
12
+ gem "pgvector"
13
+ gem "pry"
14
+ gem "llm_memory"
data/Gemfile.lock ADDED
@@ -0,0 +1,101 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ llm_memory_pgvector (0.1.0)
5
+ llm_memory (~> 0.1.7)
6
+ pgvector (~> 0.2.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.2)
12
+ coderay (1.1.3)
13
+ diff-lcs (1.5.0)
14
+ httparty (0.21.0)
15
+ mini_mime (>= 1.0.0)
16
+ multi_xml (>= 0.5.2)
17
+ json (2.6.3)
18
+ language_server-protocol (3.17.0.3)
19
+ lint_roller (1.0.0)
20
+ llm_memory (0.1.7)
21
+ redis (~> 4.6.0)
22
+ ruby-openai (~> 3.7.0)
23
+ tokenizers (~> 0.3.3)
24
+ method_source (1.0.0)
25
+ mini_mime (1.1.2)
26
+ multi_xml (0.6.0)
27
+ parallel (1.23.0)
28
+ parser (3.2.2.1)
29
+ ast (~> 2.4.1)
30
+ pg (1.5.3)
31
+ pgvector (0.2.0)
32
+ pry (0.14.2)
33
+ coderay (~> 1.1)
34
+ method_source (~> 1.0)
35
+ rainbow (3.1.1)
36
+ rake (13.0.6)
37
+ redis (4.6.0)
38
+ regexp_parser (2.8.0)
39
+ rexml (3.2.5)
40
+ rspec (3.12.0)
41
+ rspec-core (~> 3.12.0)
42
+ rspec-expectations (~> 3.12.0)
43
+ rspec-mocks (~> 3.12.0)
44
+ rspec-core (3.12.2)
45
+ rspec-support (~> 3.12.0)
46
+ rspec-expectations (3.12.3)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.12.0)
49
+ rspec-mocks (3.12.5)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.12.0)
52
+ rspec-support (3.12.0)
53
+ rubocop (1.50.2)
54
+ json (~> 2.3)
55
+ parallel (~> 1.10)
56
+ parser (>= 3.2.0.0)
57
+ rainbow (>= 2.2.2, < 4.0)
58
+ regexp_parser (>= 1.8, < 3.0)
59
+ rexml (>= 3.2.5, < 4.0)
60
+ rubocop-ast (>= 1.28.0, < 2.0)
61
+ ruby-progressbar (~> 1.7)
62
+ unicode-display_width (>= 2.4.0, < 3.0)
63
+ rubocop-ast (1.28.1)
64
+ parser (>= 3.2.1.0)
65
+ rubocop-performance (1.16.0)
66
+ rubocop (>= 1.7.0, < 2.0)
67
+ rubocop-ast (>= 0.4.0)
68
+ ruby-openai (3.7.0)
69
+ httparty (>= 0.18.1)
70
+ ruby-progressbar (1.13.0)
71
+ standard (1.28.2)
72
+ language_server-protocol (~> 3.17.0.2)
73
+ lint_roller (~> 1.0)
74
+ rubocop (~> 1.50.2)
75
+ standard-custom (~> 1.0.0)
76
+ standard-performance (~> 1.0.1)
77
+ standard-custom (1.0.0)
78
+ lint_roller (~> 1.0)
79
+ standard-performance (1.0.1)
80
+ lint_roller (~> 1.0)
81
+ rubocop-performance (~> 1.16.0)
82
+ tokenizers (0.3.3-arm64-darwin)
83
+ tokenizers (0.3.3-x86_64-linux)
84
+ unicode-display_width (2.4.2)
85
+
86
+ PLATFORMS
87
+ arm64-darwin-22
88
+ x86_64-linux
89
+
90
+ DEPENDENCIES
91
+ llm_memory
92
+ llm_memory_pgvector!
93
+ pg
94
+ pgvector
95
+ pry
96
+ rake (~> 13.0)
97
+ rspec (~> 3.0)
98
+ standard (~> 1.3)
99
+
100
+ BUNDLED WITH
101
+ 2.4.6
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Shohei Kameda
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # LLM Memory pgvector
2
+
3
+ This is a Ruby plugin for the [llm_memory](https://github.com/shohey1226/llm_memory) gem which allows it to use a pgvector-powered Postgres database as a vector store. [pgvector](https://github.com/pgvector/pgvector) is an open-source vector similarity search tool for Postgres databases. It provides efficient storage and lookup for high-dimensional vector data.
4
+
5
+ ## Installation
6
+
7
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORGg
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
16
+
17
+ Plese don't forget to add `llm_memory`
18
+
19
+ $ bundle add llm_memory
20
+
21
+ ## Configuration
22
+
23
+ You can configure the Postgres connection URL by setting the `pg_url` in `LlmMemoryPgvector.configuration`.
24
+ If you use Rails, please put this in initializers.
25
+
26
+ ```ruby
27
+ LlmMemoryPgvector.configuration.pg_url = "postgres://user:password@localhost/mydb"
28
+ ```
29
+
30
+ ## Usage
31
+
32
+ This should be used with `llm_memory`. You can refer to [README of llm_memory](https://github.com/shohey1226/llm_memory)
33
+
34
+ ```
35
+ # in case it's not loaded, pleaes load them
36
+ require llm_memory
37
+ require llm_memory_pgvector
38
+
39
+ hippocampus = LlmMemory::Hippocampus.new(:pgvector, chunk_size: 512)
40
+ ..
41
+ ```
42
+
43
+ ## Development
44
+
45
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
46
+
47
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
48
+
49
+ ## Contributing
50
+
51
+ Bug reports and pull requests are welcome on GitHub at https://github.com/shohey1226/llm_memory_pgvector. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/shohey1226/llm_memory_pgvector/blob/master/CODE_OF_CONDUCT.md).
52
+
53
+ ## License
54
+
55
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
56
+
57
+ ## Code of Conduct
58
+
59
+ Everyone interacting in the LlmMemoryPgvector project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/llm_memory_pgvector/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[spec standard]
@@ -0,0 +1,60 @@
1
+ require "pg"
2
+ require "pgvector"
3
+ require "llm_memory/store"
4
+
5
+ module LlmMemoryPgvector
6
+ class PgvectorStore
7
+ include LlmMemory::Store
8
+
9
+ register_store :pgvector
10
+
11
+ def initialize(
12
+ index_name: "llm_memory",
13
+ content_key: "content",
14
+ vector_key: "vector",
15
+ metadata_key: "metadata"
16
+ )
17
+ @index_name = index_name
18
+ @content_key = content_key
19
+ @vector_key = vector_key
20
+ @metadata_key = metadata_key
21
+ @conn = PG::Connection.new(LlmMemoryPgvector.configuration.pg_url)
22
+ # pp @conn
23
+ registry = PG::BasicTypeRegistry.new.define_default_types
24
+ Pgvector::PG.register_vector(registry)
25
+ @conn.type_map_for_results = PG::BasicTypeMapForResults.new(@conn, registry: registry)
26
+ @conn.exec("CREATE EXTENSION IF NOT EXISTS vector")
27
+ end
28
+
29
+ def create_index(dim: 1536)
30
+ @conn.exec("CREATE TABLE #{@index_name} (id bigserial PRIMARY KEY, #{@content_key} TEXT, #{@metadata_key} JSON, #{@vector_key} vector(#{dim}))")
31
+ end
32
+
33
+ def drop_index
34
+ @conn.exec("DROP TABLE IF EXISTS #{@index_name}")
35
+ end
36
+
37
+ # data = [{ content: "", vector: [], metadata: {} },,]
38
+ def add(data: [])
39
+ values = data.map { |row|
40
+ "('#{row[@content_key.to_sym]}', '#{row[@metadata_key.to_sym].to_json}', '#{row[@vector_key.to_sym]}')"
41
+ }.join(",")
42
+ sql = <<~SQL
43
+ INSERT INTO #{@index_name} (#{@content_key}, #{@metadata_key}, #{@vector_key})
44
+ VALUES #{values}
45
+ SQL
46
+ @conn.exec(sql)
47
+ end
48
+
49
+ def search(query: [], k: 3)
50
+ result = @conn.exec_params("SELECT *, 1 - (#{@vector_key} <-> '#{query}') AS similarity FROM #{@index_name} ORDER BY #{@vector_key} <-> $1 LIMIT #{k}", [query])
51
+ result.map { |row|
52
+ {
53
+ content: row["content"],
54
+ metadata: row["metadata"].transform_keys(&:to_sym),
55
+ similarity: row["similarity"]
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LlmMemoryPgvector
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "llm_memory_pgvector/version"
4
+ require_relative "llm_memory_pgvector/pgvector_store"
5
+
6
+ module LlmMemoryPgvector
7
+ class Error < StandardError; end
8
+
9
+ class ConfigurationError < Error; end
10
+
11
+ class Configuration
12
+ attr_writer :pg_url
13
+
14
+ def initialize
15
+ @pg_url = nil
16
+ end
17
+
18
+ def pg_url
19
+ return @pg_url if @pg_url
20
+
21
+ error_text = "Missing Connection URIs See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING"
22
+ raise ConfigurationError, error_text
23
+ end
24
+ end
25
+
26
+ class << self
27
+ attr_writer :configuration
28
+ end
29
+
30
+ def self.configuration
31
+ @configuration ||= LlmMemoryPgvector::Configuration.new
32
+ end
33
+
34
+ def self.configure
35
+ yield(configuration)
36
+ end
37
+ # LlmMemoryPgvector.configure do |c|
38
+ # c.pg_url = "postgresql://postgres:foobar@localhost"
39
+ # end
40
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/llm_memory_pgvector/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "llm_memory_pgvector"
7
+ spec.version = LlmMemoryPgvector::VERSION
8
+ spec.authors = ["Shohei Kameda"]
9
+ spec.email = ["shoheik@cpan.org"]
10
+
11
+ spec.summary = "A LLM Memory plugin for pgvector"
12
+ spec.description = "A Ruby plugin for the llm_memory gem which allows it to use a pgvector-powered Postgres database as a vector store."
13
+ spec.homepage = "https://github.com/shohey1226/llm_memory_pgvector"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 2.6.0"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = "https://github.com/shohey1226/llm_memory_pgvector"
19
+ spec.metadata["changelog_uri"] = "https://github.com/shohey1226/llm_memory_pgvector/CHANGELOG.md"
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(__dir__) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
26
+ end
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ spec.add_dependency "llm_memory", "~> 0.1.7"
34
+ spec.add_dependency "pgvector", "~> 0.2.0"
35
+
36
+ # For more information and examples about making a new gem, check out our
37
+ # guide at: https://bundler.io/guides/creating_gem.html
38
+ end
@@ -0,0 +1,4 @@
1
+ module LlmMemoryPgvector
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: llm_memory_pgvector
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Shohei Kameda
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-05-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: llm_memory
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.1.7
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.1.7
27
+ - !ruby/object:Gem::Dependency
28
+ name: pgvector
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.0
41
+ description: A Ruby plugin for the llm_memory gem which allows it to use a pgvector-powered
42
+ Postgres database as a vector store.
43
+ email:
44
+ - shoheik@cpan.org
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".rspec"
50
+ - ".standard.yml"
51
+ - ".vscode/settings.json"
52
+ - CHANGELOG.md
53
+ - CODE_OF_CONDUCT.md
54
+ - Gemfile
55
+ - Gemfile.lock
56
+ - LICENSE.txt
57
+ - README.md
58
+ - Rakefile
59
+ - lib/llm_memory_pgvector.rb
60
+ - lib/llm_memory_pgvector/pgvector_store.rb
61
+ - lib/llm_memory_pgvector/version.rb
62
+ - llm_memory_pgvector.gemspec
63
+ - sig/llm_memory_pgvector.rbs
64
+ homepage: https://github.com/shohey1226/llm_memory_pgvector
65
+ licenses:
66
+ - MIT
67
+ metadata:
68
+ homepage_uri: https://github.com/shohey1226/llm_memory_pgvector
69
+ source_code_uri: https://github.com/shohey1226/llm_memory_pgvector
70
+ changelog_uri: https://github.com/shohey1226/llm_memory_pgvector/CHANGELOG.md
71
+ post_install_message:
72
+ rdoc_options: []
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 2.6.0
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ requirements: []
86
+ rubygems_version: 3.4.6
87
+ signing_key:
88
+ specification_version: 4
89
+ summary: A LLM Memory plugin for pgvector
90
+ test_files: []