semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Python: LM Studio sample still uses @deprecated memory APIs

Open ninglinLiu opened this issue 1 month ago • 0 comments

Problem

python/samples/concepts/local_models/lm_studio_text_embedding.py (~8–11, 32–33) still imports/uses:

  • TextMemoryPlugin
  • SemanticTextMemory
  • VolatileMemoryStore

All are @deprecated in:

  • python/semantic_kernel/memory/semantic_text_memory.py
  • python/semantic_kernel/memory/volatile_memory_store.py
  • python/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.

ninglinLiu avatar Oct 13 '26 06:10 ninglinLiu