Skip to content

Commit

Permalink
feat: adds type aliases (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhermawan authored Oct 26, 2024
1 parent 667b595 commit f964c6d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Sources/LLMChatOpenAI/LLMChatOpenAI+Typealias.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// LLMChatOpenAI+Typealias.swift
// LLMChatOpenAI
//
// Created by Kevin Hermawan on 10/27/24.
//

import Foundation

public extension LLMChatOpenAI {
typealias Completion = ChatCompletion
typealias CompletionChunk = ChatCompletionChunk
typealias Message = ChatMessage
typealias Options = ChatOptions
}

0 comments on commit f964c6d

Please sign in to comment.