-
Notifications
You must be signed in to change notification settings - Fork 10
feat: prompt variant #142
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: prompt variant #142
Conversation
@@ -61,6 +73,28 @@ def process_response(response): | |||
return gql.GET_PROMPT_VERSION, description, variables, process_response | |||
|
|||
|
|||
def create_prompt_variant_helper( | |||
from_lineage_id: Optional[str] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take we don't want to expose from_version
integer.
literalai/version.py
Outdated
@@ -1 +1 @@ | |||
__version__ = "0.0.629" | |||
__version__ = "0.0.630" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we try to align with 0.1.0
so we know the switch?
literalai/api/dataset_helpers.py
Outdated
@@ -98,13 +99,13 @@ def create_experiment_helper( | |||
api: "LiteralAPI", | |||
name: str, | |||
dataset_id: Optional[str] = None, | |||
prompt_id: Optional[str] = None, | |||
prompt_experiment_id: Optional[str] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say we call it prompt_variant_id
. We should rename it in the platform code too, else it's going to lead to errors.
* feat: prompt variant * fix: mypy errors on mistralai * fix: rename + version bump --------- Co-authored-by: Hugues de Saxcé <hugues.de.saxce@protonmail.com>
No description provided.