defog-ai/sql-eval

what is embeddings.pkl file, and how to create it

Closed this issue · 6 comments

How to create emmbeddings.pkl file mentioned here

Hi there! The pruning files for our predefined schemas will automatically be created when you run ./data/init_db.sh. We have not yet released documentation for pruning new schemas, and will do that later this week.

Hi there! The pruning files for our predefined schemas will automatically be created when you run ./data/init_db.sh. We have not yet released documentation for pruning new schemas, and will do that later this week.

Cool!

Hi @rishsriv
Have we released the documentation for pruning new schemas ?

How to create emmbeddings.pkl file mentioned here

hi, This shows how to use the embeddings.pkl file, but it doesn't explain how it is created. I want to know how this file is generated.

@wangcong607 the embeddings.pkl file is generated by another dependency we maintain, defog-data. That python library is responsible for the generation of the pickle file, and you can see more details in the generate_embeddings function.

@wongjingping Thank you so much!