Skip to content

Commit

Permalink
Added a public init
Browse files Browse the repository at this point in the history
Signed-off-by: ActuallyTaylor <[email protected]>
  • Loading branch information
ActuallyTaylor committed Nov 20, 2023
1 parent 96924f9 commit 2fe23d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/SLlama/Models/EmbeddingSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ import Foundation
public struct EmbeddingSettings: Codable {
/// Text to process
public let content: String

public init(content: String) {
self.content = content
}
}

0 comments on commit 2fe23d9

Please sign in to comment.