v0.11.0
PromptingTools v0.11.0
Added
- Support for Databricks Foundation Models API. Requires two environment variables to be set:
DATABRICKS_API_KEY
andDATABRICKS_HOST
(the part of the URL before/serving-endpoints/
) - Experimental support for API tools to enhance your LLM workflows:
Experimental.APITools.create_websearch
function which can execute and summarize a web search (incl. filtering on specific domains). It requiresTAVILY_API_KEY
to be set in the environment. Get your own key from Tavily - the free tier enables c. 1000 searches/month, which should be more than enough to get started.
Fixed
- Added an option to reduce the "batch size" for the embedding step in building the RAG index (
build_index
,get_embeddings
). Setembedding_kwargs = (; target_batch_size_length=10_000, ntasks=1)
if you're having some limit issues with your provider. - Better error message if RAGTools are only partially imported (requires
LinearAlgebra
andSparseArrays
to load the extension).
### Commits
Merged pull requests: