Eladlev / AutoPrompt

A framework for prompt tuning using Intent-based Prompt Calibration
Apache License 2.0
1.86k stars 149 forks source link

The message "none is not an allowed value" suggests that "none" is not an acceptable option or setting within the configuration for Azure's ChatGPT. #44

Closed nathin001 closed 4 months ago

nathin001 commented 4 months ago

ValidationError: 1 validation error for LLMChain llm none is not an allowed value (type=type_error.none.not_allowed)

Eladlev commented 4 months ago

Hi, I don't have currently access to Azure, I opened a PR for a fix that should solve the issue. The only change in the config should be in all llm fields, modifying to:

  type: 'Azure'
  name: <deployment_name>

Please let me know if it solved the issue