Class: CompletionKit::PromptfooImporter::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/completion_kit/promptfoo_importer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#datasetObject (readonly)

Returns the value of attribute dataset

Returns:

  • (Object)

    the current value of dataset



6
7
8
# File 'app/services/completion_kit/promptfoo_importer.rb', line 6

def dataset
  @dataset
end

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



6
7
8
# File 'app/services/completion_kit/promptfoo_importer.rb', line 6

def error
  @error
end

#metricsObject (readonly)

Returns the value of attribute metrics

Returns:

  • (Object)

    the current value of metrics



6
7
8
# File 'app/services/completion_kit/promptfoo_importer.rb', line 6

def metrics
  @metrics
end

#okObject (readonly)

Returns the value of attribute ok

Returns:

  • (Object)

    the current value of ok



6
7
8
# File 'app/services/completion_kit/promptfoo_importer.rb', line 6

def ok
  @ok
end

#promptsObject (readonly)

Returns the value of attribute prompts

Returns:

  • (Object)

    the current value of prompts



6
7
8
# File 'app/services/completion_kit/promptfoo_importer.rb', line 6

def prompts
  @prompts
end

#providersObject (readonly)

Returns the value of attribute providers

Returns:

  • (Object)

    the current value of providers



6
7
8
# File 'app/services/completion_kit/promptfoo_importer.rb', line 6

def providers
  @providers
end