undreamai/LLMUnity

I get RAGSearchUnity cannot be found when I import the project

Closed this issue · 9 comments

Describe the bug

Assets\Samples\LLM for Unity\2.0.2\KnowledgeBaseGame\KnowledgeBaseGame.cs(8,7): error CS0246: The type or namespace name 'RAGSearchUnity' could not be found (are you missing a using directive or an assembly reference?)

Steps to reproduce

No response

LLMUnity version

2022.3.22f1

Operating System

Windows

Did you download the KnowledgeBaseGame sample from the package manager? If so, either remove it, or install the RAGSearchUnity package. The reason for this error is that the KnowledgeBaseGame sample needs the RAGSearchUnity package to be installed.

Thank you for the quick response, I've downloaded the RAGSearchUnity package. However, I get another error this time:
Library\PackageCache\ai.undream.ragsearchunity@fea4ef9097\Runtime\Embedding.cs(316,101): error CS0122: 'Ops' is inaccessible due to its protection level

Hi! You need to install it as in the instructions here:
https://github.com/undreamai/RAGSearchUnity?tab=readme-ov-file#setup
This is because it is a Unity asset that depends on other assets (Unity Sentis, Newtonsoft Json).

Yes, I followed the procedure, and I have Unity Sentis and Newtonsoft Json packages installed, but I get the error mentioned above

Which Sentis version do you have?

I've tried to use 1.4 and 1.5 version of Sentis and the error remains.

Could you try with "1.2.0-exp.2" that the package is developed with?

I've tried with "1.2.0-exp.2" and it works. Thank you for the troubleshooting.

Thank you for testing!