Skip to content

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

Closed
wants to merge 162 commits into from
Closed

0.3.0 #490

wants to merge 162 commits into from

Conversation

zsimjee
Copy link
Collaborator

@zsimjee zsimjee commented Dec 6, 2023

No description provided.

@zsimjee zsimjee marked this pull request as draft December 7, 2023 05:34
zsimjee and others added 23 commits December 6, 2023 21:50
Use field names in message history instead of explanations
datatypes: Handle missing optional lists and objects
* 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
@zsimjee zsimjee closed this Dec 8, 2023
@CalebCourier CalebCourier deleted the 0.3.0 branch May 17, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants