How to setup "AshPostgres.Extensions.Vector"
I want to use Ash.AI to build RAG feature for my app. Currently, I am not sure how to setup AshPostgres for vector.
According to the document: https://hexdocs.pm/ash_postgres/AshPostgres.Extensions.Vector.html
An extension that adds support for the vector type.
Create a file with these contents, not inside of a module:
I am confused by this:
- which file should I create? a
- where should I put that file, in the root of my project? or in
Thanks a lot for your help
According to the document: https://hexdocs.pm/ash_postgres/AshPostgres.Extensions.Vector.html
An extension that adds support for the vector type.
Create a file with these contents, not inside of a module:
I am confused by this:
- which file should I create? a
.exs or .ex file ?- where should I put that file, in the root of my project? or in
lib folder ?Thanks a lot for your help
