- This is Unity Package for using Groq
- Unity6.0 or later
- Groq v0.24.0 compatible
This pacakge uses UniTask. Please install UniTask before installing this package.
- Open UnityPackageManager Window from tool menu
- Select
Add packege from Git URL... - Enter
https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTaskto add UniTask - Re-select
Add packege from Git URL... - Enter
https://github.com/Graffity-X/UnityGroq.git?path=packageto install Groq package
- Open UnityPackageManager Window from tool menu
- Select Graffity.Groq
- Select Sample Tab
- Press import button in the sample list

- Basic function of this package.
- Texts in TextInput will send to LLM and Answer will be displayed.
- Api for getting information of models used in Groq.
- Speech to Text sample
- Use microphone to recording
- wav file will be send to Groq as a input.
- TTS sample
- You can select voice type and set message
- File operation sample
- This apis are mainly used with batch mode
- Note: Batch mode is not supported in this package.
Please set the api key on the serialize field of SceneInitializer on GameObject "System".

.
├── Dev-UnityGroq
│ ├── Assembly-CSharp-Editor.csproj
│ ├── Assembly-CSharp.csproj
│ └── Assets
│ ├── Graffity.Groq
│ └── Graffity.Groq.meta
├── package
│ ├── CHANGELOG.md
│ ├── CHANGELOG.md.meta
│ ├── LICENSE
│ ├── LICENSE.meta
│ ├── package.json
│ ├── package.json.meta
│ ├── README.md
│ ├── README.md.meta
│ ├── Runtime
│ │ ├── Api
│ │ ├── Api.meta
│ │ ├── Common
│ │ ├── Common.meta
│ │ ├── interfaces
│ │ ├── interfaces.meta
│ │ ├── Unity.Groq.asmdef
│ │ └── Unity.Groq.asmdef.meta
│ ├── Runtime.meta
│ └── Samples~
│ ├── ApiSample
│ └── ApiSample.meta
└── README.md
| Directory Name | description |
|---|---|
| Dev-UnityGroq | UnityProject. This project is used for updating package, check for the sample behaviours . |
| Dev-UnityGroq/Assets/Graffity.Groq | Symbolic link of package. |
| package | Directory for distribution as a Unity Package. |