# 建立本地 db embeddings = OpenAIEmbeddings() vectorstore = Chroma.from_documents(texts, embeddings)