Open vincilee2 opened 3 months ago
We also support the 'completion' mode (for non-OpenAI models), this can be done by changing the meta prompts to meta_prompts_completion
Regarding supporting more methods to enforce the structure, we would like to integrate libraries such as LM Format Enforcer
Currently, not all output_schemas support customized output parsers.
For example in the classification output schemes, only json schemas are available, meaning this prompt only works well for the models which support json schema output.
To be compatible with other LLMs, a customized output parser is required.