4 ms·
1. You can see the relevant code block here[0]. To summarise, instead of storing the embeddings "next to" the data that you provide, we create a table that can
by kiwicopple 2y ago
1. You can see the relevant code block here[0]. To summarise, instead of storing the embeddings "next to" the data that you provide, we create a table that can be referenced. This is because often we need to send the LLM some data from the table (like creating a chart). If the LLM sees a reference to `meta.embeddings` then it knows it can "fetch" that data later if it's needed (for RAG etc)
2. We haven't fine-tuned, it's all just detailed prompts which you can find in the code. We might need to fine tune later for local-only models, but for now GPT-4o is solid.
[0] https://github.com/supabase-community/postgres-new/blob/4d6c416f99e7d21b070631d48dfced8e6381a6e0/apps/postgres-new/lib/tools.ts#L156 https://github.com/supabase-community/postgres-new/blob/4d6c...