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

feat(cortex): export complete ConversationMessage #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

efueyo
Copy link

@efueyo efueyo commented Oct 30, 2024

Hello, I just noticed that ConversationMessage is not exported from snowflake.cortex so in our code we ended up importing _complete which doesnt seems ideal

from snowflake.cortex import Complete, CompleteOptions
from snowflake.cortex._complete import ConversationMessage

with this PR we could improve it to:

from snowflake.cortex import Complete, ConversationMessage, CompleteOptions

Thanks!

Copy link

@sfc-gh-bprosnitz sfc-gh-bprosnitz left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

3 participants