Closed laelhalawani closed 6 months ago
This was added in latest updates version 0.0.15 full support to for system prompts has been added to both messages, model db and model data, now if you're loading a model that supports system prompts you can provide system prompt by using
aai.generate(user_message="Your prompt", system_prompt="You are a helpful assistant.")
To check if the model supports system prompts you can use
aai.model_data.has_system_tags()
.
Some Llama2 models are fine-tuned with system prompt (i.e. phi2) to utilize them properly system prompt support is needed.