Inserting Text
Learn how OpenAI inserts text between given prefixes and suffixes.
We'll cover the following
Overview
OpenAI’s GPT-3.5 model has the ability to insert additional text between two separate texts. For this purpose, we provide a prefix prompt (prompt
) as an incomplete text and suffix prompt (suffix
) as the ending text. The long prefix prompt helps the model to understand the context. A sentence can be interpreted differently, but the suffix helps the model to understand the sentence’s ending context.
Create a free account to access the full course.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy