creting openai engine

PHOTO EMBED

Mon Jan 15 2024 03:58:35 GMT+0000 (Coordinated Universal Time)

Saved by @_rosetteeee_

CREATE MODEL openai_model
PREDICT answer
USING
    engine = 'openai_engine',
    prompt_template = 'Generate five multiple-choice questions with correct answers to assess a candidate's knowledge in deep tech areas. Ensure questions cover a range of topics and difficulty levels based on their resume. Examples may include specific programming languages, tools, frameworks, and best practices.',
    text:{{text}},
    max_tokens = 500,
    temperature = 0.3,
    api_key = 'your-api-key';
content_copyCOPY