Forum OpenACS Development: Re: Semantic Search in OpenACS

Collapse
Posted by Neophytos Demetriou on
Dockerfile for running OpenACS with pgvector-driver is ready. Here's what you have to do:

docker build . -t pgvector-driver:latest
docker run --network host pgvector-driver:latest

After you execute above commands, all you have to do is point your browser to the following url and create some content in xowiki - you can then try to search for it from search: http://localhost:8000/

Notes:

1. Please make sure you are running nothing on port 5432 of your host machine. In other words, stop postgresql service on your host machine in order to try this.

2. It only indexes titles for now.

3. I will try to populate xowiki with some CSV data that I have and update the postgres dump that I'm using for this.

That's all for now. If there are any questions, please do not hesitate and contact me.

Collapse
Posted by Neophytos Demetriou on
I forgot to ask you to checkout the git repo first in my last message. Here are the commands for running the demo for pgvector-driver again:

git clone https://github.com/jerily/openacs-packages.git
cd openacs-packages/pgvector-driver
docker build . -t pgvector-driver:latest
docker run --network host pgvector-driver:latest

That's all!

Collapse
Posted by Neophytos Demetriou on
I'll create another database dump and share the credentials so that you can try it out. It only has three pages in xowiki at the moment that you can search.
Collapse
Posted by Neophytos Demetriou on
Should be fine now.

email: test at example.com
password: test

If you already build the docker image you might need to redo it with (rest of the steps are the same):
docker build . -t pgvector-driver:latest --no-cache