Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DocC warnings when running swift package generate-documentation #37

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading