hello community!
I have sort of a dumb confusion and i hope I can clarify this somehow.
i'm using lanchain and opensearch for my project and openai embeddings to embed my data:
`db = OpenSearchVectorSearch.from_documents(
langchain_docs,
embedding=embeddings,
opensearch_url="http://localhost:9200",
index_name="netskope_docs_langchain",
)`
here is where the confusion lies - my understanding is that i can do the embeddings only once so basically i will use the openai api when i do the initial embedding calculation and when i write them to the vector store
the question is - every time i retrieve something from the vector store, do I leverage openai api or it all happens locally ?
thank you!