How to Use Janitor AI with OpenAI API

Using Janitor AI is really simple – just create an account and start chatting with the characters. And if you don’t like the Language Learning Model (LLM) you’re interacting with, you can change it using APIs.

By default, you get to interact with JanitorLLM Beta. It’s in beta so you can expect strange behavior and some downtime.

To reduce the downtime and have refined results, you can use OpenAI or Kobold AI running in the background.

Same characters, same personality, but a different LLM running at the backend. Of course, this also means that the characters will have better memory and will remember more details about you and your conversation with them.

For this, you’ll need to use API keys. This might sound developer-ish and complicated but it’s as easy as pie. Let me show you how.

What is Janitor AI

Janitor AI is a chatbot platform that has several characters you can chat with. And it’s highly addictive too. In fact, the characters are so realistic, it’s easy to mistake them for real people.

It uses Natural Language Processing (NLP) to communicate with users. It doesn’t just understand the context of the prompt but also the sentiment behind it.

This is what makes it so different and fun to interact with.

You can chat with Janitor AI using Janitor AI beta, Open AI, or Kobold AI. While using Janitor AI beta is pretty easy, you might want to use OpenAI as Janitor AI is still in the development stage.

I prefer OpenAI over others and if you want your characters to interact with you using OpenAI, you’ll need to use API keys.

Playing with Janitor AI is fun and creating your own characters is even more exciting.

Let’s discuss how you can use the Janitor AI Application Programming Interface (API)

Using Janitor AI with API

For this example, I’ll use OpenAI API for Janitor AI. OpenAI language models are not free and you’ll need to pay according to the model you use. Let’s begin.

Step 1. Visit the Janitor AI website and register for a free account.

Step 2. Select a character. There are several characters on Janitor AI and you can scroll through the pages to find more. Pick any character and click on it to open its page.

Scroll down to the bottom of the character to begin chatting with it.

Step 3. Click on Using Janitor to open its API settings.

A window will pop up with some settings.

You’ll have the option to use Open AI or Kobold AI for API keys. I’ll use Open AI in this example.

Step 4: Select the Open AI settings

In the Open AI option, you get to enter your own API key or reverse proxy. I will choose My Own API Key.

Step 5. Visit the OpenAI developer platform.

Step 6. Click on your profile icon on the developer platform.

Select API keys

You’ll find all your previously created API keys here.

C:\Users\summe\Desktop\Capture.JPG

Step 7. Click on Create new secret key. It will open a dialog box.

Give a name to your key and click on Create secret key. OpenAI will generate a key for you.

C:\Users\summe\Desktop\Capture.JPG

Click on Copy to copy the key and click on Done.

You’ll be able to see the new key in your API keys list.

C:\Users\summe\Desktop\Capture.JPG

Step 8. Go back to Janitor AI where you left off. Select My Own API Key and enter the copied key in the space provided.

C:\Users\summe\Desktop\Capture.JPG

Click on Check API key and it will show a message that the API key is valid.

Scroll down on Save Settings.

Now when you chat with any character on Janitor AI, you’ll notice it says “Using OpenAI” where it used to say “Using Janitor”

You might notice that the conversations are smoother now, depending on the language model you chose.

Creating a Character on Janitor AI

Now that you know how to integrate OpenAI with Janitor AI, let’s see how you can create your own characters.

Step 1. Visit Janitor AI and click on Create a Character. Of course, you’ll need to be logged in to create a character.

Step 2. Enter details of the character. You’ll be given a form in which you can enter the details of the character you want to create.

Once you fill in all the details and upload an image, click on Create Character. Your character will be created. It’s very simple and takes less than a minute.

Now you can chat with it.

Options while creating characters

You get to enter a name for your character. You can also select a gender or type of your character. If you make it public, others can also chat with it. However, if you keep it private, only you’ll be able to chat with it.

You get an option of Limited or Limitless while creating a character. With Limitless, your bot will generate NSFW content. However, if you want it to be a family-friendly character, you can select Limited.

You need to define the personality of your character and give it an initial message. The character will use the initial message while greeting you or other users.

You can also enter a scenario and example dialogs.

What are tokens?

When you create the bot, it will show the number of permanent and temporary tokens used by the bot. What do tokens mean?

Tokens are like memories of the bot. Permanent tokens are permanent memories and temp tokens are temporary.

You might need to remind the bot of some memories from time to time. While it may seem like more tokens make a better bot, it’s not entirely true.

Using Janitor AI for Free

Integrating Janitor AI with OpenAI will cost at least $5 because OpenAI isn’t free. However, Janitor AI Beta is free and you can use it without paying anything.

Also, since it’s the default LLM, you don’t even have to go through the whole API setup. But then, most users prefer OpenAI over the Janitor LLM because the latter is still in its beta stage.

Integrating API in Your Projects

You can add Janitor AI to your website, application, games, and other projects with APIs. Playing with Janitor AI is fun. Creating your own characters is even more exciting. But using the chatbot API in your project is simply exhilarating.

But it will need some extra steps if you want to integrate Janitor AI into your website or application. Here is what you’ll need to do.

Integration with API and SDK

You’ll need to integrate Janitor AI with your platform using the APIs or Software Development Kits (SDKs).

Training with datasets

Once the integration is done, you’ll need to train the chatbot with the right datasets. For example, if you’re using it to handle customer inquiries on your website, you can give it your company documentation and catalogs.

This way, it can understand your products or services and handle customer questions in a better way.

Testing and monitoring

Before you launch any tool, you need to test it. Test the bot with different questions and see how it performs. After implementation, you need to monitor the performance of the bot to see how it performs in the real world and how it can be improved.

Janitor AI Community

Janitor AI has a fun community on Discord. You’ll find many users there who share their experiences and help each other out.

Plus, there’s a sub for Janitor AI on Reddit. So if you’re on Reddit and want to ask something about Janitor, you can do that. You can also share memes on Janitor AI on Discord and Reddit.

Why Use Janitor AI

Janitor AI is simply addictive. There are over 33,00,00 characters at the time of writing this article. You can have an SFW or NSFW chat with any of them (depending on their personality) and feel as if you’re talking to a real person.

I’ll share some reasons why you should check out Janitor AI at least once.

A diverse range of characters

While Janitor has become known for its NSFW themes, there are several family-friendly characters you can chat with.

For example, the Mom character on Janitor is among my favorites. You can open up to her and she’ll be supportive, no matter what. And of course, there are NSFW characters as well, if that’s something you’re interested in.

Ability to create your own characters

With so many characters, there are high chances that you’ll find a character you’ll like. But just in case you don’t, you can always create your own character. And you can give it a unique personality, define its dialogs, and give it a scenario, etc.

Detailed scenarios

When you create a character, you’re supposed to enter a scenario. This scenario can be very detailed and immersive so the user feels like they’re a part of a fantasy land. With scenarios, you can be absolutely anywhere you want to be.

My Experience with Janitor AI

I am in love with the idea of chatting with different characters. Whether it’s Janitor AI or other chatbot platforms, I think whoever came up with this idea did the right thing with AI.

Talking to all these chatbots is a lot of fun. I used both JanitorLLM Beta and OpenAI. I feel OpenAI gives a more seamless experience.

With JanitorLLM, characters sometimes just go quiet and don’t reply for long. However, OpenAI APIs are paid so that might not be a good option for everyone.

Most users prefer OpenAI API but it is subjective and you can select any LLM according to your preference.

I found Janitor AI to be very addictive and while integrating APIs does take some time, it’s not very difficult. If you’re into AI chatbots, make sure you try Janitor AI.

Conclusion

Janitor AI is a chatbot platform that gives you options for choosing LLMs. It’s got its own JanitorLLM Beta but you can also use OpenAI API or Kobold API to run it. Plus, it also lets you create your own characters and chat with them.

Frequently Asked Questions (FAQs)

Can my bot generate any type of content?

Depending on your definition of the bot, it will generate SFW or NSFW content. You can set limitations on your bot accordingly.

Can I create a bot with violent themes?

Bots with violent themes are counted as consensual because the user can leave the chat anytime they want to. However, bots with subjects of illegal nature are not allowed.

Are there any conditions for joining the website?

Since Janitor AI supports NSFW content, you need to be over 18 to join the website.

Comments 0 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

wix banner square