Skip to content

Commit

Permalink
Fix DocC warnings when running swift package generate-documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Dec 12, 2023
1 parent b21147f commit b6b5ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/GoogleAI/GenerationConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public struct GenerationConfig: Encodable {
/// (unbounded).
public let maxOutputTokens: Int?

/// A set of up to 5 ``String``s that will stop output generation. If
/// A set of up to 5 `String`s that will stop output generation. If
/// specified, the API will stop at the first appearance of a stop sequence.
/// The stop sequence will not be included as part of the response.
public let stopSequences: [String]?
Expand Down
2 changes: 1 addition & 1 deletion Sources/GoogleAI/Safety.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Foundation
/// responses that exceed a certain threshold.
public struct SafetyRating: Decodable, Equatable {
/// The category describing the potential harm a piece of content may pose. See
/// ``SafetySetting.HarmCategory`` for a list of possible values.
/// ``SafetySetting/HarmCategory`` for a list of possible values.
public let category: SafetySetting.HarmCategory

/// The model-generated probability that a given piece of content falls under the harm category
Expand Down

0 comments on commit b6b5ca1

Please sign in to comment.