Skip to content

Commit 6adb144

Browse files
fix script
1 parent b8bdfc3 commit 6adb144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
3333
1. Generate changes to support vectorsearch in your chosen ActiveRecord model
3434

3535
```
36-
rails generate langchainrb_rails:pg_vector --model=Product --llm=openai
36+
rails generate langchainrb_rails:pgvector --model=Product --llm=openai
3737
```
3838

3939
This adds required dependencies to your Gemfile, creates the initializer file `config/initializers/langchainrb_rails.rb`, database migrations to support vectorsearch, and adds the necessary code to the ActiveRecord model to enable vectorsearch.
@@ -107,7 +107,7 @@ Re-generate embeddings after modifying this method:
107107
### PgVector Generator
108108

109109
```
110-
rails generate langchainrb_rails:pg_vector --model=Product --llm=openai
110+
rails generate langchainrb_rails:pgvector --model=Product --llm=openai
111111
```
112112

113113
### Pinecone Generator - adds vectorsearch to your ActiveRecord model

0 commit comments

Comments
 (0)