Hello and thank you for all your work!
I managed to setup localai on my macbook. After some struggling with the local file trigger it works but when the agent is trying to retrieve the content of a file i have this error:
column "content" does not exist
Failed query: SELECT string_agg(content, ' ') as document_text FROM documents_pg WHERE metadata->>'file_id' = $1 GROUP BY metadata->>'file_id';
I would like to explore the postgres database but i dont know how to setup the connection from outside docker. I tried with with:
- host: localhost
- port: 5432
- user: postgres
- password: the password from the POSTGRES_PASSWORD env variable
- database: postgres
but it does not work.
Can someone help me?
Thanks again