Skip to content

OpenAI.Model.Lookup

Andrew Lambert edited this page Jan 31, 2023 · 2 revisions

OpenAI.Model.Lookup

Method signature

 Shared Function Lookup(ModelName As String) As OpenAI.Model
 Shared Function Lookup(Index As Integer) As OpenAI.Model

Parameters

Lookup(String)

Name Type Comment
ModelName String The name of the Model to retrieve. If no model matches the name then the return value is Nil

Lookup(Integer)

Parameters

Name Type Comment
Index Integer The index of the Model to retrieve. If the index is invalid then an OutOfBoundsException will be raised.

Return value

An instance of OpenAI.Model representing the requested AI model.

See also

Clone this wiki locally