Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
monk1337 authored Jul 29, 2023
1 parent 3d815c5 commit 8e34ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ To immediately use a LLM model for your NLP task, we provide the `Pipeline` API.
```python
from promptify import Prompter,OpenAI, Pipeline

sentence = "The patient is a 93-year-old female with a medical
sentence = """The patient is a 93-year-old female with a medical
history of chronic right hip pain, osteoporosis,
hypertension, depression, and chronic atrial
fibrillation admitted for evaluation and management
of severe nausea and vomiting and urinary tract
infection"
infection"""

model = OpenAI(api_key) # or `HubModel()` for Huggingface-based inference or 'Azure' etc
prompter = Prompter('ner.jinja') # select a template or provide custom template
Expand Down

0 comments on commit 8e34ea3

Please sign in to comment.