This combination of ChatGPT's powerful AI capabilities and custom plugins enables Jiro to provide a wide range of services and support, including answering questions, assisting with tasks, providing recommendations, and much more. Whether users need help with work, school, or just day-to-day life, Jiro is there to lend a helping hand.
To create plugins, refer to github https://www.nuget.org/packages/Jiro.Commands/
- dotnet SDK
- Python
- Node
- OpenAI account (Optional | Required for chat)
- navigate to
src/Jiro.Kernel/Jiro.Api/clientapp/envExamples
and rename example files to.env
and.env.development
- move these renamed files to
src/Jiro.Kernel/Jiro.Api/clientapp
- navigate to
src/Jiro.Kernel/Jiro.Api
- rename
appsettings.example.json
toappsettings.json
- Configure
appsettings.json
, especiallyGpt:AuthToken
for enabling conversations (can be obtained from https://platform.openai.com/account/api-keys) - run
dotnet tool restore
- run
dotnet run
- to run Client App, open the web app (by default
https://localhost:5001
) and wait for proxy to start
- navigate to
src/Jiro.TokenApi
- run
pip install -r requirements.txt
- run
python main.py
oruvicorn main:app --reload
You can change the port either via running it with
python main.py
and modifyingconfig.json
or by specifying--host
and--port
args foruvicorn
The default configs should assure that Jiro will run.
If you want to run apps on your own custom urls and configs, this might be useful for you
appsettings.json
Key | Description | Default Value |
---|---|---|
urls | The urls used for Jiro hosting | http://localhost:18090;https://localhost:18091 |
TokenizerUrl | The url for tokenizer API | http://localhost:8000 |
GPT:BaseUrl | The url for OpenAI API | https://api.openai.com/v1/ |
GPT:AuthToken | The Authorization token for GPT | *Obtain it from https://platform.openai.com/account/api-keys |
JWT:Secret | The key used for JWT generation, should not be keep as default! | ThisIsYourSecretKeyThatYouShouldChange |
Read more about it here
Properties/launchSettings.json (for VisualStudio)
Key | Description | Default Value |
---|---|---|
profiles:Jiro.Client:applicationUrl | The urls used for web server | http://localhost:18090;https://localhost:18091 |
clientapp/.env
Key | Description | Default Value |
---|---|---|
JIRO_API | url for proxy that targets API server | https://localhost:18091 |
clientapp/.env.development
Key | Description | Default Value |
---|---|---|
PORT | url that client app will run on | 3000 |
Jiro.Client.csproj
Key | Description | Default Value |
---|---|---|
SpaProxyServerUrl | url that's used for running client app | https://localhost:3000 |
- (API)
TokenizerUrl
must match url configured for Tokenizer API - (API)
SpaProxyServerUrl
must match resulting url from (clientapp)PORT
- (clientapp)
JIRO_API
must match one of the urls configured in (API)urls