Skip to content

Commit

Permalink
UGemini v2.3.0-preview.2
Browse files Browse the repository at this point in the history
- Fixed documentation.
  • Loading branch information
Uralstech committed Oct 4, 2024
1 parent 3dd4417 commit 18e76b6
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 77 deletions.
70 changes: 0 additions & 70 deletions Documentation/DocSource/BreakingChanges.md

This file was deleted.

4 changes: 4 additions & 0 deletions Documentation/DocSource/QuickStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Please note that the code provided in this page is *purely* for learning purposes and is far from perfect. Remember to null-check all responses!

## Breaking Changes Notice

If you've just updated UGemini, it is recommended to check out the [*releases page*](https://github.com/Uralstech/UGemini/releases) for information on breaking changes for each update.

## Setup

Add an instance of `Uralstech.UGemini.GeminiManager` to your scene, and set it up with your Gemini API key. You can get your API key from [*here*](https://makersuite.google.com/app/apikey).
Expand Down
4 changes: 1 addition & 3 deletions Documentation/DocSource/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ items:
- name: GeminiChatRequest Features
href: GeminiChatRequestFeatures.md
- name: All Endpoints
href: AllEndpoints.md
- name: UGemini v2 Breaking Changes
href: BreakingChanges.md
href: AllEndpoints.md
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public GeminiCorpusDocumentId(string documentName)
/// Creates a new <see cref="GeminiCorpusDocumentId"/>.
/// </summary>
/// <param name="corpusId">The resource ID of the Corpus which contains the Document.</param>
/// <param name="documentNameOrId">The name (format 'corpora/{corpusId}/documents/{documentId}') or ID of the Document.</param
/// <param name="documentNameOrId">The name (format 'corpora/{corpusId}/documents/{documentId}') or ID of the Document.</param>
public GeminiCorpusDocumentId(GeminiCorpusId corpusId, string documentNameOrId)
{
CorpusId = corpusId.ResourceId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public string GetEndpointUri(GeminiRequestMetadata metadata)
}

/// <summary>
/// Creates a new <see cref="GeminiCorporaPatchRequest"/>.
/// Creates a new <see cref="GeminiCorporaPatchRequest{TPatchData}"/>.
/// </summary>
/// <remarks>
/// Only available in the beta API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Uralstech.UGemini.CorporaAPI
{
/// <summary>
/// The response for a <see cref="GeminiCorporaQueryRequest"/> or <see cref="Documents.GeminiCorporaDocumentQueryRequest"/> call.
/// The response for a <see cref="GeminiCorporaQueryRequest"/> call.
/// </summary>
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class GeminiCorporaQueryResponse
Expand Down
2 changes: 1 addition & 1 deletion UGemini/Packages/com.uralstech.ugemini/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"AI",
"Integration"
],
"version": "2.3.0-preview.1",
"version": "2.3.0-preview.2",
"unity": "2022.3",
"hideInEditor": false,
"documentationUrl": "https://uralstech.github.io/UGemini/",
Expand Down

0 comments on commit 18e76b6

Please sign in to comment.