Skip to content
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

Merging main into barney #404

Merged
merged 38 commits into from
Oct 26, 2023
Merged

Merging main into barney #404

merged 38 commits into from
Oct 26, 2023

Conversation

smohiuddin
Copy link
Collaborator

No description provided.

irgolic and others added 30 commits September 11, 2023 12:08
* llm_providers: Fix OpenAI response token count retrieval

* test_llm_providers: Add OpenAI unit tests

* format
* update

* add unit tests

* lint fixes

* lint

* test fix

* remove unnescessary init

* remove uneccesary import

---------

Co-authored-by: Nefertiti  Rogers <[email protected]>
Co-authored-by: Nefertiti  Rogers <[email protected]>
Co-authored-by: zsimjee <[email protected]>
… var syntax (#313)

* add warnings for incorrect syntax

* lint fixes

* lint

* more lint

* more lint

* more lint

* mock warnings

* fix merge errors

---------

Co-authored-by: Nefertiti  Rogers <[email protected]>
Co-authored-by: zsimjee <[email protected]>
* Add provenance walkthrough notebook

* Add -q to imports cell, and add markdown explaining different ways to set OpenAI API keys

* add mention in mkdocs file
* validator_service: Handle get_event_loop RuntimeError

* validator_service: Drop async event loop warning

* test_validator_service: Add test for get_event_loop throwing RuntimeError
* match on gr. instead of gr

* unit tests for gr prefix
fix issue when msg_history passed as kwargs instead of prompt params
* add sql to list of ignore types

* lint fix

---------

Co-authored-by: Nefertiti  Rogers <[email protected]>
* init commit

* tests for to xml and python str using pydantic

* update

* update

* lint

* lint fixes

* remove extracted summary test since dependent on openai

---------

Co-authored-by: Nefertiti  Rogers <[email protected]>
* Regex validator (#354)

* POC for an match at start of string

* updated doc string:

* passing match_type to superclass init

* Added params to docs

---------

Co-authored-by: Alex F-Athanassakos <[email protected]>

* lint and fix tests

* regex validator notebook

* lock down rstr version

* add rstr to dev deps

---------

Co-authored-by: Alex Falconer-Athanassakos <[email protected]>
Co-authored-by: Alex F-Athanassakos <[email protected]>
Hi guys - Blueprint is shutting down so you may want to remove this section.
* working commit

* passing tests

* more validators tests for to_prompt

* remove comments

* add regex validator

* add validators that needs libraries installed

* remove test file

* remove comment

* fix test for valid range

* fix lint

* fix lint

* fix lint

* add one more lib

* remove similar to doc

* update setup

* update setup to use already defined reqs

* add todo and update setup

---------

Co-authored-by: Nefertiti  Rogers <[email protected]>
Co-authored-by: Nefertiti  Rogers <[email protected]>
* type-check ValidLength and ValidUrl values

* fix full_schema reask merge, deprecate url, pythoncode, sql, and email

* pydantic deprecation warnings for string conversion

* deprecation integ tests

* setup: Add `rstr` dependency

* azure_openai: Move to integrations, write up step-by-step

* schema: Pass data coerced by skeleton-check along to validation

* validators.ValidLength: Handle empty string (use random chars)

* tests...compiled_prompt_full_reasks: Fix for int => float coercion

* fmt

* test_validators: Assert reask in `guard_history...reasks` instead of `...parsed_output`

---------

Co-authored-by: Rafael Irgolic <[email protected]>
* working commit

* passing tests

* update tests

* update to skip if api key missing

* lint

---------

Co-authored-by: Nefertiti  Rogers <[email protected]>
Co-authored-by: Nefertiti  Rogers <[email protected]>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@10.0.0...10.0.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.0.4...2.0.6)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* reflect in typing that parse returns a str instead of tuple

* str -> str/Dict

* lint fix
* shreyar -> guardrails-ai ref updates

* stragglers

* update valid choices doc

* broken link fixes
thekaranacharya and others added 8 commits October 17, 2023 14:36
* Add nli_fine_tuning script

* Add distribution check validator: v0

* Add prov-v2 experiments and update nli fine tuning script

* Bugfix and change name

* Delete unused folder

* Update validator according to comments, add test and example notebook

* Update test coverage and refactor

* Lint and autoformat

* Format for codecov path coverage

* Add key properties and callout

* Make semantic similarity function public

* Remove integration tests, add unit test for semantic similarity method

* Add integration tests

* Add SimilarToList validator to test harness

* Instantiate the validator directly instead of creating a guard

* Add arguments info to class docstring

* Remove docstring from __init__
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.0.6...2.0.7)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.34 to 3.1.37.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](gitpython-developers/GitPython@3.1.34...3.1.37)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* use datetime parser to deal with unspecified datetimes

* lint

* add non-supported dateformat tests
* use safe_get to avoid KeyError on optional properties

* remove duplcate check
* fix instructions concept page

* fix formatting on prompt concept page

* document environment variables
@zsimjee zsimjee merged commit 41b9f91 into barney Oct 26, 2023
2 of 4 checks passed
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