Open enigmablue opened 1 year ago
@enigmablue
Please remove following dependencies:
I'm sorry that I forgot to update dependencies of sample in README.
"Relent" package is only needed when you use Relent version API of ChatGPT API client: "com.mochineko.chatpgt-api.relent" that can use retry, timeout, circuit breaker and bulkhead to connect API.
I think it can't work because the chatgpt-api has the tests folder and the tests folder has tiktoken.
I have to manually delete the tests folder
Do you install this package by Unity Package Manager? Tests folder is not included in package.
Minimal introduction is there:
Add following dependencies to mainfest.json
on your Unity project.
{
"dependencies": {
"com.mochineko.chatgpt-api": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API#0.5.0",
"com.unity.nuget.newtonsoft-json": "3.0.2",
}
}
If you use sample code in this repository, please add UniTask dependency,
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
For your information, memory package ("com.mochineko.chatgpt-api.memory"
) and tiktoken package ("com.mochineko.tiktoken-sharp"
) are merged to main package ("com.mochineko.chatgpt-api"
) from ver 0.5.0.
I was trying to set up this package. Tons of dependency errors. Its not clear how to install the dependencies. Relent (based on your 5.0) is not picked up, until i looked at your manifest and used the 2.0 Relent. And then tons of these.
No idea whats happening.
"dependencies": { "com.boundfoxstudios.fluentassertions": "https://github.com/BoundfoxStudios/fluentassertions-unity.git#upm", "com.bugsnag.unitynotifier": "https://github.com/bugsnag/bugsnag-unity-upm.git", "com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask", "com.mochineko.chatgpt-api": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API#0.5.0", "com.mochineko.chatgpt-api.memory": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API.Memory#0.4.0", "com.mochineko.relent": "https://github.com/mochi-neko/Relent.git?path=/Assets/Mochineko/Relent#0.2.0", "com.mochineko.tiktoken-sharp": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/TiktokenSharp#0.4.0",