mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
10 lines
272 B
Text
10 lines
272 B
Text
```python
|
|
from langchain.prompts import PromptTemplate
|
|
|
|
prompt = PromptTemplate.from_template("What is a good name for a company that makes {product}?")
|
|
prompt.format(product="colorful socks")
|
|
```
|
|
|
|
```pycon
|
|
What is a good name for a company that makes colorful socks?
|
|
```
|