Load embeddings from file into FAISS Vector store creator

Hello @Ellison,

In the example you shared the list was a collection of strings, I used a simple lambda function using a python script node to convert it to a list of doubles as below :

df['column'] = df['column'].apply(lambda x: [float(i) for i in x])

Now you can see the column appear in the FAISS Vector Store Creator node.

image

You have to connect to OpenAI Embeddings connector to use it further as shown here.

If you want to download the updated workflow, you can find it here.

Best,
Keerthan

1 Like