Skip to content

Completion mode (legacy)

Federico Navarrete edited this page Mar 10, 2024 · 2 revisions

For this mode, you will get only one answer and cannot continue a conversation:

image

You must replace:

  • The OpenAI_APIKey with yours.
  • The Model you want to use, for example, gpt-3.5-turbo-instruct.
  • The Prompt with the question you want to ask.
  • Max_tokens with the maximum length you expect.
  • The Temperature with a number between 0 and 1 where 0 is not creative at all and 1 is extremely creative.
  • Instructions with some message that can guide the OpenAI with what you want it to do. It's optional.
Clone this wiki locally