Skip to content
View TheScroll75's full-sized avatar
πŸ‘οΈβ€πŸ—¨οΈ
Zooted and rooted
πŸ‘οΈβ€πŸ—¨οΈ
Zooted and rooted

Block or report TheScroll75

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
TheScroll75/README.md
  • πŸ‘‹ Hi, I’m @TheScroll75
  • πŸ‘€ I’m interested in ...
  • 🌱 I’m currently learning ...
  • πŸ’žοΈ I’m looking to collaborate on ...
  • πŸ“« How to reach me ...
  • πŸ˜„ Pronouns: he ...
  • ⚑ Fun fact: I Like To Read ...
  • πŸ˜Άβ€πŸŒ«οΈ meanings to an End
  • πŸ“œ delivery

from deepeval.tracing import observe, update_current_span from deepeval.test_case import LLMTestCase from deepeval.dataset import Golden from deepeval.metrics import GEval from deepeval import evaluate

correctness = GEval(name="Correctness", criteria="Determine if the 'actual output' is correct based on the 'expected output'.", evaluation_params=[LLMTestCaseParams.ACTUAL_OUTPUT, LLMTestCaseParams.EXPECTED_OUTPUT])

@observe(metrics=[correctness]) def inner_component(): # Component can be anything from an LLM call, retrieval, agent, tool use, etc. update_current_span(test_case=LLMTestCase(input="...", actual_output="...")) return

@observe def llm_app(input: str): inner_component() return

evaluate(observed_callback=llm_app, goldens=[Golden(input="Hi!")])

Popular repositories Loading

  1. TheScroll75 TheScroll75 Public

    Config files for my GitHub profile.

  2. bc-java bc-java Public

    Forked from bcgit/bc-java

    Bouncy Castle Java Distribution (Mirror)

    Java

  3. wolfTPM wolfTPM Public

    Forked from wolfSSL/wolfTPM

    wolfTPM is a highly portable TPM 2.0 library, designed for embedded use.

    C