FloTeu / llm-prompt-engineering-generator

Library to organize few shot learning for llm models
MIT License
5 stars 0 forks source link

Add support for switchable PromptElements/Messages #6

Open maviedmtech opened 4 months ago

maviedmtech commented 4 months ago

Some Prompts are very similar, but contain maybe an example fewer or a context system mesasge less. In these cases it might be a good Idea to provide a way to toggle these off. Something like

PromptEngineeringMessages.from_pydantic(..., exclude=["a", "b"])
FloTeu commented 4 months ago

Great Idea! Thank you for your feedback