Generate text, create chat bots, perform question answering, classification, language translation, sentiment analysis, autocomplete, prediction across a variety of domains via ‘prompt engineering’, asking questions in a familiar way to human conversation.
Under the hood we use very large language models trained on broad human language.
max_length
for a maximum amount of tokensmax_sentences
for setting a max number of sentences, good for conversational agents or when you know how many sentences should be generatedstopping_sequences
a list of sequences that once generated signal the end of text generation, give some examples of when these should appear in your prompt, these wont be output at the end if used to stop.number_of_results
top_p
, lower top_k
for high variety/creativitytop_p
and high top_k
for consistencytemperature
for consistency, high for creativity