Package com.openai.models.evals.runs
Interface CreateEvalCompletionsRunDataSource.Source.Visitor
-
- All Implemented Interfaces:
public interface CreateEvalCompletionsRunDataSource.Source.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitFileContent(CreateEvalCompletionsRunDataSource.Source.FileContent fileContent)
abstract T
visitFileId(CreateEvalCompletionsRunDataSource.Source.FileId fileId)
abstract T
visitStoredCompletions(CreateEvalCompletionsRunDataSource.Source.StoredCompletions storedCompletions)
A StoredCompletionsRunDataSource configuration describing a set of filters T
unknown(JsonValue json)
Maps an unknown variant of Source to a value of type T. -
-
Method Detail
-
visitFileContent
abstract T visitFileContent(CreateEvalCompletionsRunDataSource.Source.FileContent fileContent)
-
visitFileId
abstract T visitFileId(CreateEvalCompletionsRunDataSource.Source.FileId fileId)
-
visitStoredCompletions
abstract T visitStoredCompletions(CreateEvalCompletionsRunDataSource.Source.StoredCompletions storedCompletions)
A StoredCompletionsRunDataSource configuration describing a set of filters
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Source to a value of type T.
An instance of Source can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-