123 Commits

Author SHA1 Message Date
Jason Liu 5c2496c946 feat(instructor): introduce ANTHROPIC_JSON mode (#542) 2024-03-28 23:10:26 -04:00
Jason Liu 6d23442d67 ruff 2024-03-28 18:14:14 -04:00
Jason Liu 16c36ca96c doc: Blog post on matching languages in multilingual summarization. 2024-03-28 18:07:57 -04:00
shreya w 8da87c442f feat: support anthropic (non-streaming only) (#512)
Co-authored-by: Jason Liu <jason@jxnl.co>
2024-03-20 17:56:47 -04:00
Jason Liu 6ecced4624 doc: make diskcache async compatible 2024-03-20 10:13:31 -04:00
Jason Liu ef651b0f13 fix: ruff 2024-03-04 18:41:00 -05:00
Jason Liu 1b550dfb66 update examples 2024-03-04 17:32:37 -05:00
Jason Liu c834f7517d fix: ruff 2024-03-04 16:53:46 -05:00
Jason Liu a0c1859fc6 doc: Extracting YouTube clips 2024-03-04 16:52:19 -05:00
Jason Liu edc5ef684b fix: black and synthetic examples 2024-03-04 15:27:52 -05:00
Kelvin Tan 413949a79b fix: examples/citation_with_extraction/citation_fuzzy_match.py is out of sync with the website (#471) 2024-03-02 00:06:52 -04:00
Ashank Tomar 043a51eebe docs: add support for mistral tool calling (#467) 2024-02-26 14:03:50 -04:00
Jason Liu bbe577f9e0 doc: fizzbuzz example 2024-02-20 15:05:14 -05:00
Ethan Leifer 259023a7ec Move partial and iterable from cookbook/examples to hub (#452) 2024-02-19 23:30:14 -05:00
Jason Liu 5709a4a524 refactor(batch-classification,extract-table): simplify code, improve functionalities, introduce langsmith library (#442) 2024-02-18 11:50:09 -05:00
Francisco Ingham 66a8285421 doc: image extraction (#346)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2024-02-18 11:36:43 -05:00
Jason Liu 2143805508 feat(instructor/patch.py): change default mode from FUNCTIONS to TOOLS (#436) 2024-02-16 11:50:34 -05:00
Jason Liu dc4e908106 doc(patching): improve documentation 2024-02-13 18:02:16 -05:00
Jason Liu 943a253de1 bump 2024-02-12 11:49:34 -05:00
Jason Liu 2a215cd6d8 fix(validation): increase max_retries from 1 to 2 (#433) 2024-02-12 09:51:42 -05:00
Ashank Tomar 805161b70f feat(Instructor): integrate with SQLModel, provide documentation and example (#418)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2024-02-08 20:07:06 -05:00
Jason Liu 727deeb158 add ollama 2024-02-08 16:33:12 -05:00
Jason Liu 571603cbfb feat: Pros Cons Example. 2024-02-08 16:16:59 -05:00
Hongnan Gao 14ecf49370 CICD: Add set -e -o pipefail to ruff and mypy. (#399) 2024-02-05 18:37:03 -05:00
Christian R 3f7f3c2e16 Fix typos (#395) 2024-02-03 18:14:48 -05:00
Ezzeri Esa 95fe77414a Remove unused imports (#393) 2024-02-03 14:50:59 -05:00
Jason Liu 62e6a40389 Implement Parallel Function Calls with List[Union[T]] (#378) 2024-01-31 23:03:38 -05:00
Jason Liu 21d3a968d2 Implement Validated Multi-Classes 2024-01-30 23:02:07 -05:00
Jason Liu b7176fb0a2 Together ai support, blog post (#366)
Co-authored-by: Hassan El Mghari <hassan4709@gmail.com>
2024-01-28 19:28:14 -05:00
Ted Fulk 0b304ad27b Add ollama run.py with completion functionality (#352)
Co-authored-by: Jason Liu <jason@jxnl.co>
2024-01-20 09:34:29 -05:00
Ivan Leo 3bee4b0c7c Adding support for caching async functions (#340) 2024-01-14 11:00:08 -05:00
Ashank Tomar ae9144055d Field level streaming (#334)
Co-authored-by: Jason Liu <jason@jxnl.co>
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2024-01-13 22:58:45 -05:00
Jason Liu 3f901bc8d3 format 2024-01-11 12:36:44 -05:00
Jason Liu 61b8aff167 ruff 2024-01-11 12:36:19 -05:00
Jason Liu 995f1cf7dd Revert "test ollama and litellm" (#328) 2024-01-06 09:56:18 -05:00
Jason Liu 0c2ea68607 test ollama and litellm (#326) 2024-01-06 09:43:44 -05:00
Ivan Leo 9c17578547 Updated the Knowledge Graph article (#327)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Jason Liu <jason@jxnl.co>
2024-01-05 17:33:42 -05:00
Jason Liu 8893bdd83b remove bad examples 2024-01-05 15:13:49 -05:00
Phodaie afbf272c32 json scheme example change (#316)
Co-authored-by: payman hodaie <payman@osellus-mobile.com>
2024-01-01 17:23:36 -05:00
Hongnan Gao b583309818 Integrate and Enhance Linting with Ruff (#295)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2023-12-28 15:21:22 -05:00
Jason Liu a3ffe022f6 ruff 2023-12-24 20:26:14 -05:00
Jason Liu 4b29ffd556 add examples for citations 2023-12-24 20:26:04 -05:00
Zbigniew Łukasiak b101a857a7 Added example for using unions of models, useful for agents (#299) 2023-12-23 12:24:18 -05:00
Jason Liu b3c694d3d2 add mixtral example 2023-12-21 23:20:34 -05:00
Lakshya Agarwal 89a6702845 docs: example on Vision API (image to ad copy) (#293)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
Co-authored-by: Jason Liu <jason@jxnl.co>
2023-12-21 16:12:29 -05:00
Jason Liu 8510af2322 example: Table extraction w/ Pydantic (#288) 2023-12-18 18:27:04 -05:00
Jason Liu 11664ec09c image to table 2023-12-12 21:21:21 -05:00
Jason Liu d3c13965a8 Parse availability of dates (#267) 2023-12-11 17:08:36 -05:00
Gabriel Garrett 9b7fbbb4f2 Adds ruff linting and formatting (#262) 2023-12-08 12:30:55 -05:00
Brandon Phillips cb96010bba Opensource examples - Runpod w/Text-Generation-WebUI API Endpoint (#247)
Co-authored-by: Jason Liu <jason@jxnl.co>
2023-12-04 23:28:50 -05:00