# Minimalistic Foundation for AI Applications
MIT License
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.10.1...v3.10.2
Published by Nayjest 3 months ago
default logging refactoring / improvements:
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.10.0...v3.10.1
Published by Nayjest 3 months ago
New feature Tiktoken usage for estimating number of tokens in prompt / response, fitting semantic search results to target token number
Examples:
// limit semantic search results
mc.texts.search("test_collection", "query", n_results=20).fit_to_token_size(max_tokens=5, min_documents=3)
// extended string now have .to_tokens() and .num_tokens() methods:
prompt= mc.tpl('my_template.j2')
tokens = prompt.to_tokens(for_model="gpt-4")
prompt.num_tokens()
mc.llm(prompt).num_tokens()
For usage with any regular strings, see microcore.tokenizing
ui improvements:
Other minor fixes
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.9.1...v3.10.0
Published by Nayjest 5 months ago
bugfix: avoid recursion when json.JSONEncoder fallbacks to default & produce exception, provide original exception
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.8.0...v3.9.0
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.7.0...v3.8.0
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.6.1...v3.7.0
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.6.0...v3.6.1
Published by Nayjest 6 months ago
v3.6.0: PromptWrapper now additionally stores its arguments as properties
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.5.0...v3.6.0
Published by Nayjest 6 months ago
Parallel inference functionality added
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.4.0...v3.5.0
Published by Nayjest 6 months ago
Changes include transformers adapter improvements, new config options: & utils:
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.3.1...v3.4.0
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.2.1...v3.3.1
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.2.0...v3.2.1
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.1.0...v3.2.0
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.0.1...v3.0.2
Published by Nayjest 6 months ago
Full Changelog: https://github.com/Nayjest/ai-microcore/compare/v3.0.0...v3.0.1
Published by Nayjest 7 months ago
Published by Nayjest 7 months ago
Fix #14 : Unwanted behaviour: previous configuration remains active when calling configure(...) with invalid settings
Published by Nayjest 7 months ago