This commit is contained in:
svlandeg 2023-10-23 11:46:12 +02:00
parent a89eae9283
commit bd6426b341

View File

@ -32,7 +32,7 @@ as well as through task-specific component factories: `llm_ner`, `llm_spancat`,
> llm = nlp.add_pipe("llm", config=config)
>
> # Construction via add_pipe with a task-specific factory and default GPT3.5 model
> llm = nlp.add_pipe("llm-ner")
> llm = nlp.add_pipe("llm_ner")
>
> # Construction from class
> from spacy_llm.pipeline import LLMWrapper