-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[AI] Update doc links: vertex-ai -> ai-logic #16640
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
base: main
Are you sure you want to change the base?
Changes from 7 commits
321583c
2dd0fcb
dad1f29
da8fa31
f929a5a
8fd81e8
9114f87
043ae1e
c2c4035
9c70fd7
984307a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -67,19 +67,19 @@ public struct GenerationConfig: Sendable, Equatable { | |||||||||||
| /// Creates a new `GenerationConfig` value. | ||||||||||||
| /// | ||||||||||||
| /// See the | ||||||||||||
| /// [Configure model parameters](https://firebase.google.com/docs/vertex-ai/model-parameters) | ||||||||||||
| /// [Configure model parameters](https://firebase.google.com/docs/ai-logic/model-parameters) | ||||||||||||
| /// guide and the | ||||||||||||
| /// [Cloud documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#generationconfig) | ||||||||||||
| /// [Cloud documentation](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/models/inference#generationconfig) | ||||||||||||
| /// for more details. | ||||||||||||
| /// | ||||||||||||
| /// - Parameters: | ||||||||||||
| /// - maxOutputTokens: Maximum number of tokens that can be generated in the response. | ||||||||||||
| /// See the configure model parameters [documentation](https://firebase.google.com/docs/vertex-ai/model-parameters?platform=ios#max-output-tokens) | ||||||||||||
| /// See the configure model parameters [documentation](https://firebase.google.com/docs/ai-logic/model-parameters?platform=ios#max-output-tokens) | ||||||||||||
| /// for more details. | ||||||||||||
| /// - stopSequences: 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. See the | ||||||||||||
| /// [Cloud documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#generationconfig) | ||||||||||||
| /// [Cloud documentation](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/models/inference#generationconfig) | ||||||||||||
| /// for more details. | ||||||||||||
| /// - responseMIMEType: Output response MIME type of the generated candidate text. | ||||||||||||
| /// | ||||||||||||
|
|
@@ -96,12 +96,12 @@ public struct GenerationConfig: Sendable, Equatable { | |||||||||||
| /// | ||||||||||||
| /// Refer to the | ||||||||||||
| /// [Generate structured | ||||||||||||
| /// output](https://firebase.google.com/docs/vertex-ai/structured-output?platform=ios) guide | ||||||||||||
| /// output](https://firebase.google.com/docs/ai-logic/structured-output?platform=ios) guide | ||||||||||||
|
Comment on lines
98
to
+99
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Splitting the markdown link text and its URL across lines can cause rendering issues in Xcode Quick Help. Keeping the link text and URL together on a single line improves documentation readability and rendering.
Suggested change
|
||||||||||||
| /// for more details. | ||||||||||||
| /// - responseModalities: The data types (modalities) that may be returned in model responses. | ||||||||||||
| /// | ||||||||||||
| /// See the [multimodal | ||||||||||||
| /// responses](https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal-response-generation) | ||||||||||||
| /// responses](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/capabilities/image-generation) | ||||||||||||
| /// documentation for more details. | ||||||||||||
| /// | ||||||||||||
| /// > Warning: Specifying response modalities is a **Public Preview** feature, which means | ||||||||||||
|
|
@@ -150,19 +150,19 @@ public struct GenerationConfig: Sendable, Equatable { | |||||||||||
| /// Creates a new `GenerationConfig` value without deprecated tuning parameters. | ||||||||||||
| /// | ||||||||||||
| /// See the | ||||||||||||
| /// [Configure model parameters](https://firebase.google.com/docs/vertex-ai/model-parameters) | ||||||||||||
| /// [Configure model parameters](https://firebase.google.com/docs/ai-logic/model-parameters) | ||||||||||||
| /// guide and the | ||||||||||||
| /// [Cloud documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#generationconfig) | ||||||||||||
| /// [Cloud documentation](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/models/inference#generationconfig) | ||||||||||||
| /// for more details. | ||||||||||||
| /// | ||||||||||||
| /// - Parameters: | ||||||||||||
| /// - maxOutputTokens: Maximum number of tokens that can be generated in the response. | ||||||||||||
| /// See the configure model parameters [documentation](https://firebase.google.com/docs/vertex-ai/model-parameters?platform=ios#max-output-tokens) | ||||||||||||
| /// See the configure model parameters [documentation](https://firebase.google.com/docs/ai-logic/model-parameters?platform=ios#max-output-tokens) | ||||||||||||
| /// for more details. | ||||||||||||
| /// - stopSequences: 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. See the | ||||||||||||
| /// [Cloud documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#generationconfig) | ||||||||||||
| /// [Cloud documentation](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/models/inference#generationconfig) | ||||||||||||
| /// for more details. | ||||||||||||
| /// - responseMIMEType: Output response MIME type of the generated candidate text. | ||||||||||||
| /// | ||||||||||||
|
|
@@ -179,12 +179,12 @@ public struct GenerationConfig: Sendable, Equatable { | |||||||||||
| /// | ||||||||||||
| /// Refer to the | ||||||||||||
| /// [Generate structured | ||||||||||||
| /// output](https://firebase.google.com/docs/vertex-ai/structured-output?platform=ios) guide | ||||||||||||
| /// output](https://firebase.google.com/docs/ai-logic/structured-output?platform=ios) guide | ||||||||||||
|
Comment on lines
181
to
+182
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Splitting the markdown link text and its URL across lines can cause rendering issues in Xcode Quick Help. Keeping the link text and URL together on a single line improves documentation readability and rendering.
Suggested change
|
||||||||||||
| /// for more details. | ||||||||||||
| /// - responseModalities: The data types (modalities) that may be returned in model responses. | ||||||||||||
| /// | ||||||||||||
| /// See the [multimodal | ||||||||||||
| /// responses](https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal-response-generation) | ||||||||||||
| /// responses](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/capabilities/image-generation) | ||||||||||||
| /// documentation for more details. | ||||||||||||
| /// | ||||||||||||
| /// > Warning: Specifying response modalities is a **Public Preview** feature, which means | ||||||||||||
|
|
||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -31,7 +31,7 @@ | |||||||||||
| /// | ||||||||||||
| /// - Parameters: | ||||||||||||
| /// - name: The name of the model to use; see [available model names | ||||||||||||
| /// ](https://firebase.google.com/docs/vertex-ai/gemini-models#available-model-names) | ||||||||||||
| /// ](https://firebase.google.com/docs/ai-logic/models) | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Splitting the markdown link text and its URL across lines can cause rendering issues in Xcode Quick Help. Keeping the link text and URL together on a single line improves documentation readability and rendering.
Suggested change
|
||||||||||||
| /// for a list of supported model names. | ||||||||||||
| /// - safetySettings: Settings to adjust the safety filters for potentially harmful content | ||||||||||||
| /// generated by the model. | ||||||||||||
|
|
||||||||||||
Uh oh!
There was an error while loading. Please reload this page.