Skip to content

Commit

Permalink
fix: context must be an array of integers (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhermawan authored Jan 15, 2024
1 parent 1b98b7c commit 1873022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/OllamaKit/RequestData/OKGenerateRequestData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public struct OKGenerateRequestData: Encodable {
/// An optional string specifying the system message.
public var system: String?

/// An optional array of doubles representing contextual information.
public var context: [Double]?
/// An optional array of integers representing contextual information.
public var context: [Int]?

/// Optional ``OKCompletionOptions`` providing additional configuration for the generation request.
public var options: OKCompletionOptions?
Expand Down

0 comments on commit 1873022

Please sign in to comment.