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

Add langfuse integration #107

Merged
merged 10 commits into from
Aug 21, 2024
Merged

Add langfuse integration #107

merged 10 commits into from
Aug 21, 2024

Conversation

kongzii
Copy link
Collaborator

@kongzii kongzii commented Aug 13, 2024

No description provided.

@kongzii kongzii marked this pull request as ready for review August 15, 2024 11:17
pyproject.toml Outdated Show resolved Hide resolved
@@ -1177,7 +1186,8 @@ def make_prediction(
additional_information: str,
temperature: float = 0.7,
engine: str = "gpt-3.5-turbo-0125",
api_key: SecretStr | None = None
api_key: SecretStr | None = None,
add_langfuse_callback: bool = False,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This PR isn't so interesting, just adding callbacks everywhere and changing return types somewhere to contain more information.

prediction_prophet/autonolas/research.py Outdated Show resolved Hide resolved
@kongzii kongzii merged commit 7fb6bd6 into main Aug 21, 2024
1 check passed
@kongzii kongzii deleted the peter/langfuse2 branch August 21, 2024 08:56
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.

2 participants