Skip to content

Basic Setup within Datrabricks using azure-openai #1104

Discussion options

You must be logged in to vote

This issue has been fixed in LangTest 2.5.0. Please upgrade to the latest version and let us know if you encounter any further issues. 🚀

Quick Guide for Databricks Integration:

Key Features:

  • Support for Spark DataFrames and Delta Live Tables for seamless integration and efficient data processing.
  • Enhanced testing and evaluation capabilities for robust workflows.

Example Workflow:

  1. Load Data into Spark DataFrame:

    df = spark.read.json("<FILE_PATH>")
    df.printSchema()
  2. Test Configuration:

    from langtest.types import HarnessConfig
    
    prompt_template = "Your task is to choose the correct answer to the question: {question}\nOptions: {options}\nAnswer: "
    test_config = {
        "evaluation": {"metric"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chakravarthik27
Comment options

Answer selected by chakravarthik27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
🐛 Bug Something isn't working
2 participants