v0.51.0
PromptingTools v0.51.0
Added
Added more flexible structured extraction with aiextract -> now you can simply provide the field names and, optionally, their types without specifying the struct itself (in aiextract, provide the fields like return_type = [:field_name => field_type]).
Added a way to attach field-level descriptions to the generated JSON schemas to better structured extraction (see ?update_schema_descriptions! to see the syntax), which was not possible with struct-only extraction.
Commits
Merged pull requests:
- styling issues (#199) (@lazarusA)
- Add assertion for empty docs in
get_embeddings
(#200) (@iuliadmtru) - Fix documentation for building RAG (#201) (@iuliadmtru)
- Update Structured Extraction (#202) (@svilupp)