I have edit file.yml again for:
I think @merefield edit his plugin to remove this:
# Config GPT
# - exec:
# cd: $home
# cmd:
# - sudo apt-get install wget ca-certificates
# - exec:
# cd: $home
# cmd:
# - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# - exec:
# cd: $home
# cmd:
# - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /et>
# - exec:
# cd: $home
# cmd:
# - apt-get update
# - exec:
# cd: $home
# cmd:
# - apt-get -y install -y postgresql-server-dev-${PG_MAJOR}
# - exec:
# cd: $home/tmp
# cmd:
# - git clone https://github.com/neondatabase/pg_embedding.git
# - exec:
# cd: $home/tmp/pg_embedding
# cmd:
# - make PG_CONFIG=/usr/lib/postgresql/${PG_MAJOR}/bin/pg_config
# - exec:
# cd: $home/tmp/pg_embedding
# cmd:
# - make PG_CONFIG=/usr/lib/postgresql/${PG_MAJOR}/bin/pg_config install
# - exec:
# cd: $home
# cmd:
# - su postgres -c 'psql discourse -c "create extension if not exists embedding;"'
# - exec:
# cd: $home
# cmd:
# - su postgres -c 'psql discourse -c "DROP INDEX IF EXISTS hnsw_index_on_chatbot_post_embeddings;"'
# - exec:
# cd: $home
# cmd:
# - su postgres -c 'psql discourse -c "DROP EXTENSION IF EXISTS embedding;"'
# - exec:
# cd: $home
# cmd:
# - su postgres -c 'psql discourse -c "ALTER EXTENSION vector UPDATE;"'
# End config GPT
But I’m not sure my old indexes still alive?