instructor-js icon indicating copy to clipboard operation
instructor-js copied to clipboard

help wanted: include more examples

Open jxnl opened this issue 2 years ago • 5 comments

theres a bunch of examples in the python version, including documentation here https://jxnl.github.io/instructor/examples/

here are all the examples, only a few of them are interesting so use the cookbooks to prioritize https://github.com/jxnl/instructor/tree/main/examples

TODO

  • [x] Add llm_validator
  • [ ] Logging for Distillation / Finetuning
  • [x] Support Streaming
  • [ ] Optional/Maybe types
  • [ ] Add Tutorials, include in docs
    • [x] Text Classification
    • [x] Self Critique
    • [ ] Image Extracting Tables
    • [x] Moderation
    • [x] Citations
    • [x] Knowledge Graph
    • [ ] Entity Resolution
    • [ ] Search Queries
    • [x] Query Decomposition
    • [x] Action Item and Dependency Mapping

jxnl avatar Jan 02 '24 15:01 jxnl

Will give the Query Decomposition example a try. Edit: Added it here #41

Will add Action Item and Dependency Mapping next

lucabeetz avatar Jan 03 '24 22:01 lucabeetz

Action Item and Dependency Mapping here: #42

lucabeetz avatar Jan 04 '24 21:01 lucabeetz

Added Citations example: #107

If approved please update the TODO, also Self Critique can be checked as that example is present in the docs

mlluciano avatar Feb 06 '24 03:02 mlluciano

Implemented content moderation and added example: #109

mlluciano avatar Feb 07 '24 23:02 mlluciano

Added Image Extracting Tables example in https://github.com/instructor-ai/instructor-js/pull/118

lovincyrus avatar Feb 14 '24 02:02 lovincyrus