Skip to content

Python: LM Studio sample still uses @deprecated memory APIs #14584

Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pythonPull requests for the Python Semantic Kerneltriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions