```python
from langsmith import Client
prompt = Client().pull_prompt("rlm/rag-prompt")
```
Под капотом мы просто делаем запрос на **LangChain Hub** (библиотека промптов): [LangSmith](https://smith.langchain.com/hub)
Как результат получаем объект класса `PromptTemplate` из `langchain_core.prompts`
```python
PromptTemplate(
input_variables=['context', 'question'],
input_types={},
partial_variables={},
template="You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know. Use three sentences maximum and keep the answer concise.\\nQuestion: {question} \\nContext: {context} \\nAnswer:"
)
```