diff --git a/docs/plugins/tutorial-model-plugin.md b/docs/plugins/tutorial-model-plugin.md index d54a5a5..a2f78df 100644 --- a/docs/plugins/tutorial-model-plugin.md +++ b/docs/plugins/tutorial-model-plugin.md @@ -137,7 +137,7 @@ To execute the model, we start with a word. We look at the options for words tha Some words might not have any following words from our training sentence. For our implementation we wil fall back on picking a random word from our collection. -We will implement this as a [Python generator], using the yield keyword to produce each token: +We will implement this as a [Python generator](https://realpython.com/introduction-to-python-generators/), using the yield keyword to produce each token: ```python def generate(transitions, length, start_word=None): all_words = list(transitions.keys()) @@ -578,4 +578,4 @@ You may find that you are unable to uninstall the plugin using `llm uninstall ll Should this happen, you can uninstall the plugin after first disabling it using the {ref}`LLM_LOAD_PLUGINS ` environment variable like this: ```bash LLM_LOAD_PLUGINS='' llm uninstall llm-markov -``` \ No newline at end of file +```