-
Notifications
You must be signed in to change notification settings - Fork 398
0.3.0 #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
merging in latest main
This reverts commit 28b3f5b.
…ation base_prompt: Stop warning on unsupported variables notation
Use field names in message history instead of explanations
datatypes: Handle missing optional lists and objects
Input validation
* start validation outcome changes * fix gather_reasks for non-structured output * lint fixes * more lint fixes * start test fixes, debug types * fix tests * fix types with overloads * fix tests * lint fixes * lint fixes * fix tests * lint fixes * switch to generics for ValidationOutcome * allow destructuring * remove None from generic type * init commit, changes to handle error in guard * handle error a layer deeper * update return in text2sql * remove extra fx in validation outcome * use error instead of exception * remove print statements plus lint * fix type * fix typing while maintaining type hinting * fix other type issues * autoformat * lint fixes * test fixes * autoformat * type fixes * lint fix * unused import * uncomment test parameters * merge/type fixes * guard: Allow calling parse with preconfigured num_reasks (#423) * Cron nb (#425) * install deps + pkg for nb runs * lock nb runner to 3.11.x * use cohere api key from environ * ref env vars for cohere + openai * fix bad merge in code originally from validators.py (#427) * fix bad merge in code originally from validators.py * lint fixes * bump version (#428) * update notebooks * Setup passed password (#429) * use pypi pass from env * upgrade pip before installing deps * pass pypi pass explicitly * use environ competently * list -> List * lint and test fixes * autoformat * lint and type fix * fix test * fix llm_output type * ' -> " * fix tests * lint fixes * fix notebooks again * fix docs * debug * validated_response -> validated_output --------- Co-authored-by: Nefertiti Rogers <[email protected]> Co-authored-by: Nefertiti Rogers <[email protected]> Co-authored-by: rafael <[email protected]> Co-authored-by: zsimjee <[email protected]> impl and refactor autoformat and lint fixes lint fixes fix reask merging, harmonize Call and ValidationOutcome mark test as TODO force clean merge Validation Outcome (#431) * start validation outcome changes * fix gather_reasks for non-structured output * lint fixes * more lint fixes * start test fixes, debug types * fix tests * fix types with overloads * fix tests * lint fixes * lint fixes * fix tests * lint fixes * switch to generics for ValidationOutcome * allow destructuring * remove None from generic type * init commit, changes to handle error in guard * handle error a layer deeper * update return in text2sql * remove extra fx in validation outcome * use error instead of exception * remove print statements plus lint * fix type * fix typing while maintaining type hinting * fix other type issues * autoformat * lint fixes * test fixes * autoformat * type fixes * lint fix * unused import * uncomment test parameters * merge/type fixes * guard: Allow calling parse with preconfigured num_reasks (#423) * Cron nb (#425) * install deps + pkg for nb runs * lock nb runner to 3.11.x * use cohere api key from environ * ref env vars for cohere + openai * fix bad merge in code originally from validators.py (#427) * fix bad merge in code originally from validators.py * lint fixes * bump version (#428) * update notebooks * Setup passed password (#429) * use pypi pass from env * upgrade pip before installing deps * pass pypi pass explicitly * use environ competently * list -> List * lint and test fixes * autoformat * lint and type fix * fix test * fix llm_output type * ' -> " * fix tests * lint fixes * fix notebooks again * fix docs * debug * validated_response -> validated_output --------- Co-authored-by: Nefertiti Rogers <[email protected]> Co-authored-by: Nefertiti Rogers <[email protected]> Co-authored-by: rafael <[email protected]> Co-authored-by: zsimjee <[email protected]> many test fixes, many more to come
author Caleb Courier <[email protected]> 1701367659 -0600 committer Caleb Courier <[email protected]> 1701983449 -0600 add prompt and instructions shortcuts show shortcut usage in tests start clean up, lift n shift rich print properties remove old log classes lint fixes type fixes lint fixes and cleanup fix errors from typing ignore pyright bc it doesn't understand pydantic try to run CI fix the same tests again update example notebooks update supplemental docs initial docs update track initial prompt source, add samples to logs doc lint fix cleanup
use updated notebook ignore llamaindex notebook
author Karan Acharya <[email protected]> 1698954547 -0400 committer Caleb Courier <[email protected]> 1701984382 -0600 parent ee1a8dc9bc74e0c358749acf555f93cd46eb781e author Karan Acharya <[email protected]> 1698954547 -0400 committer Caleb Courier <[email protected]> 1701984155 -0600 Add ToxicLanguage validator Add walkthrough notebook Update model name and truncation/padding logic Add unit tests and integration tests Update default threshold based on new experiments Update docstring with link to W&B project Bugfix Strong type value to str and handle empty value Add check for nltk in validate_each_sentence and else condition in validate Add check for non-empty value in get_toxicity Add check for empty results from pipeline Type cast to list Convert results to list Remove list type casting Remove extra unnecessary check Delete setup.py Update pyproject Update both poetry files Revert "Update both poetry files" This reverts commit 28b3f5b. Run poetry lock --no-update Remove torch dependency Probable fix for torch dependency Remove spacing Add strong type casting for results from transformers model Change casting lint fix update from bad merge add validator to init file add pipeline
working anthropic llm_provider add Anthropic example to docs Add Anthropic Completions instance check description, var clean up run linting/autoformatting llm_api_wrappers: Fixup anthropic docs llm_providers: Correctly import anthropic resources Add anthropic optional dependency pyproject.toml: Clamp pydantic to ">=1.10.9, <2.5" pyproject.toml: Clamp pyright to 1.1.334 Update lockfile
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.