Skip to content

Conversation

@shahules786
Copy link
Member

No description provided.

@shahules786 shahules786 marked this pull request as ready for review March 25, 2025 18:50
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@shahules786 shahules786 requested a review from jjmachan March 25, 2025 23:55
"\n",
"import typing as t\n",
"import inspect\n",
"import asyncio\n",
Copy link
Member

@jjmachan jjmachan Mar 30, 2025

Choose a reason for hiding this comment

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

Line #23.        def decorator_factory(llm:RagasLLM, prompt, name: t.Optional[str] = None, **metric_params):

type annotate prompt


Reply via ReviewNB

"\n",
"import typing as t\n",
"import inspect\n",
"import asyncio\n",
Copy link
Member

@jjmachan jjmachan Mar 30, 2025

Choose a reason for hiding this comment

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

Line #43.                class CustomMetric(metric_class):

its better to move this outside right?


Reply via ReviewNB

"\n",
"import typing as t\n",
"import inspect\n",
"import asyncio\n",
Copy link
Member

@jjmachan jjmachan Mar 30, 2025

Choose a reason for hiding this comment

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

Line #108.                # Preserve metadata

use @wrap from functools


Reply via ReviewNB

@jjmachan jjmachan merged commit 6142800 into main Apr 3, 2025
2 checks passed
@jjmachan jjmachan deleted the llm branch April 17, 2025 19:02
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