// NOTE: use WeakHashMap as a Set collection, value is always null. privatefinal WeakHashMap<ClassLoader, ?> collectedClassLoaderHistory = newWeakHashMap<>(512);
from langchain.prompts.example_selector import ( MaxMarginalRelevanceExampleSelector, SemanticSimilarityExampleSelector, ) from langchain.vectorstores import FAISS from langchain.embeddings import OpenAIEmbeddings from langchain.prompts import FewShotPromptTemplate, PromptTemplate