v0.6.0
PromptingTools v0.6.0
Added
@ai_str
macros now support multi-turn conversations. Theai"something"
call will automatically remember the last conversation, so you can simply reply withai!"my-reply"
. If you send another message withai""
, you'll start a new conversation. Same for the asynchronous versionsaai""
andaai!""
.- Created a new default schema for Ollama models
OllamaSchema
(replacingOllamaManagedSchema
), which allows multi-turn conversations and conversations with images (eg, with Llava and Bakllava models).OllamaManagedSchema
has been kept for compatibility and as an example of a schema where one provides the prompt as a string (not dictionaries like OpenAI API).
Fixed
- Removed template
RAG/CreateQAFromContext
because it's a duplicate ofRAG/RAGCreateQAFromContext
Commits
Merged pull requests: