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

New Release 2023.06.30 #66

Merged
merged 47 commits into from
Jun 30, 2023
Merged

New Release 2023.06.30 #66

merged 47 commits into from
Jun 30, 2023

Conversation

vedem1192
Copy link
Contributor


Status

READY

Description

Watsonx Prompt Templates
Updated documentation and examples
Retry mechanism update

vdemers and others added 30 commits June 8, 2023 15:50
…getting created

Signed-off-by: Onkar Bhardwaj <onkarbhardwaj@ibm.com>
Signed-off-by: Onkar Bhardwaj <onkar.bhardwaj@gmail.com>
…th passing options as well, fixed bug in tokenize async where we could not pass the return_token argument, made async examples
* fix: including README in pypi deployment

* fix: adding build dependency and changing workflow to use it

Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
Signed-off-by: Onkar Bhardwaj <onkar.bhardwaj@gmail.com>
Co-authored-by: Onkar Bhardwaj <onkar.bhardwaj@gmail.com>
Signed-off-by: Veronique <veronique_1192@hotmail.com>
Signed-off-by: Mírian Silva <mirianfrsilva@ibm.com>
- Swapped ModelType enums to str on examples
- Connected annex files to the existing files under prompts
- Connected a prompt example to the example file
- Swapped not supported model name

Contributes to: #24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
- updated included line numbers on a prompt example

Contributes to: #24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
Signed-off-by: Onkar Bhardwaj <onkar.bhardwaj@gmail.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mírian Silva <mirianfrsilva@ibm.com>
…ated generate param info

- Swapped unavailable model on examples
- Updated undpoint section on Readme to have more information
- Updated Readme's API link to bold
- Swapped ModelType to string in Readme
- Updated parameter information of GenerateParams about invalid ones with greedy decoding

Contributes to: #24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
moneill0 and others added 16 commits June 29, 2023 15:13
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: James Sutton <jsutton@li-dcf9314c-2cb7-11b2-a85c-ee3a6b9d026b.ibm.com>
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
- Fixed spellings on examples
- Added API_URL examples to README

Contributes to: #24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
- fixed wrong link on the documentation

Contributes to: #24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
- Fixed wrong links on documentations

Contributes to: #24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
Co-authored-by: Ja Young Lee <younglee@ibm.com>
* Informative error messages in async generator and type change in GenAI exception (#57)

* update greedy examples removing incompatible params (#59)

* Fix/setup cfg (#49)

* fix: including README in pypi deployment

* fix: adding build dependency and changing workflow to use it


Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
Co-authored-by: Mírian Silva <mirianfrsilva@ibm.com>
Co-authored-by: James Sutton <1068763+jpwsutton@users.noreply.github.com>
Co-authored-by: Mírian Silva <mirianfrsilva@gmail.com>
Signed-off-by: Onkar Bhardwaj <onkar.bhardwaj@gmail.com>
Retry strategy and use semaphores to prevent creating a large number of async tasks
docs: swapped modeltype to str, connected prompts to files
@coveralls
Copy link

Pull Request Test Coverage Report for Build 5425529749

  • 255 of 277 (92.06%) changed or added relevant lines in 14 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 94.737%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/genai/options.py 9 12 75.0%
src/genai/services/prompt_template_manager.py 103 106 97.17%
src/genai/routers/prompt_template.py 36 41 87.8%
src/genai/utils/watsonx_helpers.py 1 12 8.33%
Totals Coverage Status
Change from base Build 5357896957: 0.5%
Covered Lines: 1242
Relevant Lines: 1311

💛 - Coveralls

1 similar comment
@coveralls
Copy link

coveralls commented Jun 30, 2023

Pull Request Test Coverage Report for Build 5425529749

  • 255 of 277 (92.06%) changed or added relevant lines in 14 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 94.737%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/genai/options.py 9 12 75.0%
src/genai/services/prompt_template_manager.py 103 106 97.17%
src/genai/routers/prompt_template.py 36 41 87.8%
src/genai/utils/watsonx_helpers.py 1 12 8.33%
Totals Coverage Status
Change from base Build 5357896957: 0.5%
Covered Lines: 1242
Relevant Lines: 1311

💛 - Coveralls

@vedem1192 vedem1192 temporarily deployed to integration-tests June 30, 2023 17:45 — with GitHub Actions Inactive
Copy link
Contributor

@onkarbhardwaj onkarbhardwaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Examples run successfully, tests pass. Good to go.

@onkarbhardwaj onkarbhardwaj merged commit 44fea57 into main Jun 30, 2023
8 checks passed
vedem1192 added a commit that referenced this pull request Jun 30, 2023
New Release 2023.06.30 (#66)
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.

None yet

8 participants