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

UGemini v1.4.0 #15

Merged
merged 5 commits into from
Aug 13, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 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.3.0
PROJECT_NUMBER = 1.4.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 @@ -949,7 +949,8 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = C:/Users/asus/UGemini/UGemini/Packages/com.uralstech.ugemini/Runtime
INPUT = C:/Users/asus/UGemini/UGemini/Packages/com.uralstech.ugemini/Runtime \
C:/Users/asus/UGemini/UGemini/Packages/com.uralstech.ugemini/Documentation~/MainPage.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 Expand Up @@ -1165,7 +1166,7 @@ FILTER_SOURCE_PATTERNS =
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.

USE_MDFILE_AS_MAINPAGE =
USE_MDFILE_AS_MAINPAGE = Documentation~/MainPage.md

# The Fortran standard specifies that for fixed formatted Fortran code all
# characters from position 72 are to be considered as comment. A common
Expand Down
27 changes: 10 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## UGemini

A C# wrapper for the Google Gemini API.
A Unity C# wrapper for the Google Gemini API.

[![openupm](https://img.shields.io/npm/v/com.uralstech.ugemini?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.uralstech.ugemini/)
[![openupm](https://img.shields.io/badge/dynamic/json?color=brightgreen&label=downloads&query=%24.downloads&suffix=%2Fmonth&url=https%3A%2F%2Fpackage.openupm.com%2Fdownloads%2Fpoint%2Flast-month%2Fcom.uralstech.ugemini)](https://openupm.com/packages/com.uralstech.ugemini/)
Expand Down Expand Up @@ -38,7 +38,7 @@ 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.0.1",`
`"com.uralstech.ugemini": "1.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.
Expand All @@ -47,19 +47,12 @@ Follow the steps detailed in the OpenUPM installation method and only install th

### Gemini API Support

- [x] `models` endpoint ⚠️
- [ ] `batchEmbedContents` method
- [x] `models` endpoint
- [x] `batchEmbedContents` method
- [x] `countTokens` method
- [ ] `embedContent` method
- [ ] `generateAnswer` method 🧪
- [x] `embedContent` method
- [x] `generateAnswer` method 🧪
- [x] `generateContent` method
- [x] JSON output 🧪
- [x] System instructions 🧪
- [x] Text generation
- [x] Vision
- [x] Function calling 🧪
- [x] Safety settings

- [x] `get` method
- [x] `list` method
- [x] `streamGenerateContent` method
Expand All @@ -74,7 +67,9 @@ Follow the steps detailed in the OpenUPM installation method and only install th
- [x] `media` endpoint 🧪
- [x] `upload` method

- [ ] `tunedModels` endpoint
- [x] `tunedModels` endpoint ⚠️
- [x] `generateContent` method

- [ ] `operations` endpoint

⚠️ - Not all methods/features are supported<br/>
Expand All @@ -83,6 +78,4 @@ Follow the steps detailed in the OpenUPM installation method and only install th

### Documentation

See <https://github.com/Uralstech/UGemini/blob/master/UGemini/Packages/com.uralstech.ugemini/Documentation~/README.md>.

See <https://uralstech.github.io/UGemini/> for reference manual.
See <https://uralstech.github.io/UGemini/> or `refman.pdf` in the package documentation for reference manual w/ tutorial.
1 change: 1 addition & 0 deletions UGemini/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
/[Aa]ssets/
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
Expand Down
267 changes: 0 additions & 267 deletions UGemini/Assets/Scenes/SampleScene.unity

This file was deleted.

Loading