v0.18.0
PromptingTools v0.18.0
Added
- Adds support for binary embeddings in RAGTools (dispatch type for
find_closest
isfinder=BinaryCosineSimilarity()
), but you can also just convert the embeddings to binary yourself (always chooseMatrix{Bool}
for speed, notBitMatrix
) and use without any changes (very little performance difference at the moment). - Added Ollama embedding models to the model registry ("nomic-embed-text", "mxbai-embed-large") and versioned MistralAI models.
- Added template for data extraction with Chain-of-thought reasoning:
:ExtractDataCoTXML
. - Added data extraction support for Anthropic models (Claude 3) with
aiextract
. Try it with Claude-3 Haiku (model="claudeh"
) and Chain-of-though template (:ExtractDataCoTXML
). See?aiextract
for more information and check Anthropic's recommended practices.
Fixed
Commits
Merged pull requests: