Skip to content

Data not written to the specified pgvector database with the developer RAG #38

@Frank-Che

Description

@Frank-Che

Steps to reproduce:

  1. In compose.env, set POSTGRES_PASSWORD=password; POSTGRES_USER=postgres; POSTGRES_DB=mydb.
  2. Start the developer RAG with docker-compose-pgvector.yaml
  3. On the developer RAG UI, swith to the 'kb' page, click 'Add file' to upload a pdf file.
  4. Connect to the created pgvector database with UI tools like 'pgAdmin'. Check the vector data written to the database.

Problem description: vector data was not written to the user speicified database 'mydb', but written to another database named 'vector_db'. And it seems the name 'vector_db' is hard-coded.

Expected result: vector data should be written to the database user specified in the compose.env file.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions