diff --git a/pages.es/common/helm-install.md b/pages.es/common/helm-install.md index 1b68602c66..c159361107 100644 --- a/pages.es/common/helm-install.md +++ b/pages.es/common/helm-install.md @@ -15,7 +15,7 @@ `helm install {{nombre_del_paquete}} {{https://example.com/charts/packagename-1.2.3.tgz}}` -- Instalar un chart de helm y genera un nombre: +- Instala un chart de helm y genera un nombre: `helm install {{nombre_del_repositorio}}/{{nombre_del_chart}} --generate-name` diff --git a/pages.zh/common/!.md b/pages.zh/common/!.md new file mode 100644 index 0000000000..3fe21dcaeb --- /dev/null +++ b/pages.zh/common/!.md @@ -0,0 +1,24 @@ +# Exclamation mark + +> Bash 内置命令,用于替换历史记录中找到的命令。 +> 更多信息:. + +- 使用`sudo`重新执行上一个命令: + +`sudo !!` + +- 通过在`history`中出现的`行号`来调取命令: + +`!{{行号}}` + +- 调取`history`中的倒数第`数字`条命令: + +`!-{{数字}}` + +- 调取以`字符串`开头的最近执行的命令: + +`!{{字符串}}` + +- 调取上一个命令的参数给`当前命令`: + +`{{当前命令}} !*` diff --git a/pages/common/llm.md b/pages/common/llm.md new file mode 100644 index 0000000000..bbd0413cad --- /dev/null +++ b/pages/common/llm.md @@ -0,0 +1,28 @@ +# llm + +> Interact with Large Language Models (LLMs) via remote APIs and models that can be installed and run on your machine. +> More information: . + +- Set up an OpenAI API Key: + +`llm keys set openai` + +- Run a prompt: + +`llm "{{Ten fun names for a pet pelican}}"` + +- Run a [s]ystem prompt against a file: + +`cat {{path/to/file.py}} | llm --system "{{Explain this code}}"` + +- Install packages from PyPI into the same environment as LLM: + +`llm install {{package1 package2 ...}}` + +- Download and run a prompt against a [m]odel: + +`llm --model {{orca-mini-3b-gguf2-q4_0}} "{{What is the capital of France?}}"` + +- Have an interactive chat with a specific [m]odel: + +`llm chat --model {{chatgpt}}`