semantic-kernel
semantic-kernel copied to clipboard
Python: LM Studio sample still uses @deprecated memory APIs
Problem
python/samples/concepts/local_models/lm_studio_text_embedding.py (~8–11, 32–33) still imports/uses:
TextMemoryPluginSemanticTextMemoryVolatileMemoryStore
All are @deprecated in:
python/semantic_kernel/memory/semantic_text_memory.pypython/semantic_kernel/memory/volatile_memory_store.pypython/semantic_kernel/core_plugins/text_memory_plugin.py
Replacement pattern already in-repo: python/samples/concepts/memory/complex_memory.py (InMemoryCollection / VectorStoreField / as_text_search).
Proposed fix
Rewrite the LM Studio embedding sample onto VectorStore/Collection + as_text_search.
Happy to open a PR.