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

Fix stream api gen #143

Merged
merged 4 commits into from
Aug 23, 2023
Merged

Fix stream api gen #143

merged 4 commits into from
Aug 23, 2023

Conversation

gkumbhat
Copy link
Collaborator

Changes

  • Remove wip tag from prompt tuning module for streaming function which causes the API generation to fail

@@ -213,10 +213,10 @@ def run(
)
return GeneratedTextResult(generated_text=gen_text[0])

# @wip_decorator.work_in_progress(
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just remove it outright?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Super thanks for quick review. I just kept it to make a note that this function is "work in progress" and why we can't actually use the decorator.

Copy link
Contributor

@gabe-l-hart gabe-l-hart left a comment

Choose a reason for hiding this comment

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

Ship it. Nice find!

@gkumbhat gkumbhat merged commit 69c396c into caikit:main Aug 23, 2023
4 checks passed
@gkumbhat gkumbhat deleted the fix_stream_api_gen branch August 23, 2023 21:18
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

2 participants