Skip to content

Using SpaCy LLM to generate regular text #314

Answered by rmitsch
harryjulian asked this question in Q&A
Discussion options

You must be logged in to vote

You could have a look at the implementation of spacy.Summarization.v1. In a nutshell you'd have to define your own task (you can copy the implementation of the summarization task for the most part) and your own prompt - instructing the LLM what text to generate. This text you can then store in e. g. your docs _ attribute.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rmitsch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
usage How to use `spacy-llm`
2 participants
Converted from issue

This discussion was converted from issue #310 on October 04, 2023 07:18.