## OpenAiModel(*string, string*) {#constructor_1} Initializes a new instance of [`OpenAiModel`](../) class. ```csharp public OpenAiModel(string name, string apiKey) ``` | Parameter | Type | Descrip......apiKey); Document doc = new Document(MyDir + "Big document.docx");...docx"); // Summarize the document using the OpenAI model with short...