Skip to content

Commit

Permalink
Merge pull request #18 from Uralstech/unstable
Browse files Browse the repository at this point in the history
UGemini v2.0.0
  • Loading branch information
Uralstech authored Aug 31, 2024
2 parents 4a6c6ac + e0b07b0 commit b3a93e3
Show file tree
Hide file tree
Showing 817 changed files with 19,173 additions and 8,730 deletions.
341 changes: 341 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help UGemini improve
title: "[BUG] (Summary of the bug goes here)"
title: "(Summary of the bug)"
labels: bug
assignees: Uralstech

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE REQUEST] (Summary of the feature goes here)"
title: "(Summary of the feature)"
labels: enhancement
assignees: Uralstech

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Question
about: Ask a question about UGemini
title: "[QUESTION] (Summary of the question goes here)"
title: "(Summary of the question)"
labels: question
assignees: Uralstech

Expand Down
5 changes: 3 additions & 2 deletions Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = UGemini
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.4.0
PROJECT_NUMBER = 2.0.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down Expand Up @@ -950,7 +950,8 @@ WARN_LOGFILE =
# Note: If this tag is empty the current directory is searched.

INPUT = C:/Users/asus/UGemini/UGemini/Packages/com.uralstech.ugemini/Runtime \
C:/Users/asus/UGemini/UGemini/Packages/com.uralstech.ugemini/Documentation~/MainPage.md
C:/Users/asus/UGemini/UGemini/Packages/com.uralstech.ugemini/Documentation~/MainPage.md \
"C:/Users/asus/UGemini/UGemini/Packages/com.uralstech.ugemini/Runtime/Breaking Changes.md"

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,17 @@ Follow the steps detailed in the OpenUPM installation method and only install th
1. Clone or download the repository from the desired branch (master, preview/unstable)
2. Drag the package folder `UGemini/UGemini/Packages/com.uralstech.ugemini` into your Unity project's `Packages` folder
3. In the `Packages` folder of your project, add the following line to the list in `manifest.json`:
`"com.uralstech.ugemini": "1.x.x",`
`"com.uralstech.ugemini": "2.x.x",`

*Adding additional dependencies:*<br/>
Follow the steps detailed in the OpenUPM installation method and only install the `Utilities.Async`* and `Utilities.Encoder.Wav`* packages.

*Optional, but `Utilities.Async` is required for streaming content and `Utilities.Encoder.Wav` is recommended if you don't want to bother with encoding your AudioClips into Base64 strings manually.

### Preview Versions

Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.

### Gemini API Support

- [x] `models` endpoint
Expand All @@ -57,7 +61,13 @@ Follow the steps detailed in the OpenUPM installation method and only install th
- [x] `list` method
- [x] `streamGenerateContent` method

- [ ] `cachedContents` endpoint 🧪
- [x] `cachedContents` endpoint 🧪
- [x] `create` method
- [x] `delete` method
- [x] `get` method
- [x] `list` method
- [x] `patch` method

- [ ] `corpora` endpoint 🧪
- [x] `files` endpoint 🧪
- [x] `delete` method
Expand All @@ -70,10 +80,7 @@ Follow the steps detailed in the OpenUPM installation method and only install th
- [x] `tunedModels` endpoint ⚠️
- [x] `generateContent` method

- [ ] `operations` endpoint

⚠️ - Not all methods/features are supported<br/>
🚧 - The feature is being worked on and is unstable<br/>
🧪 - Using the v1beta API

### Documentation
Expand Down
Loading

0 comments on commit b3a93e3

Please sign in to comment.