Skip to content

CodeSolutionsDev/SAAI-Addons

Repository files navigation

SAAI-Addons

Wiki Discord Website

Spigot BBB Polymart

Welcome to the SAAI-Addons repository! This repository contains the source code for various addons that extend the functionality of the ServerAssistantAI Minecraft plugin. These addons are designed to improve the user experience and provide additional features to enhance the AI assistant's capabilities on your Minecraft server.

Available Addons

Here are the currently available addons for ServerAssistantAI:

Anthropic Addon (LLM)

  • Description: Claude is a family of foundational AI models that can be used in a variety of applications. This addon allows ServerAssistantAI to utilize Anthropic's Claude models for LLM functionality.
  • Credentials: AnthropicCredentialsLoader.java - Class responsible for loading Anthropic credentials.
  • Chat Model: AnthropicChatModelProvider.java - Implementation of the chat model provider for Anthropic.

Azure OpenAI Addon (LLM & Embedding)

  • Description: Azure OpenAI Service is a fully managed service that allows developers to easily integrate OpenAI models into their applications. This addon integrates Azure OpenAI models into ServerAssistantAI for both LLM and embedding functionality.
  • Credentials: AzureOpenAiCredentials.java - Class responsible for loading Azure OpenAI credentials.
  • Chat Model: AzureOpenAiChatModelProvider.java - Implementation of the chat model provider for Azure OpenAI.
  • Embedding: AzureOpenAiEmbeddingProvider.java - Implementation of the embedding provider for Azure OpenAI.

Google AI Studio Addon (LLM & Embedding)

  • Description: Google AI Studio is the fastest way to start building with Google's most advanced Gemini generative AI models. This addon integrates Google AI Studio models into ServerAssistantAI for both LLM and embedding functionality.
  • Credentials: GoogleAiStudioCredentialsLoader.java - Class responsible for loading Google AI Studio credentials.
  • Chat Model: GoogleAiStudioChatModelProvider.java - Implementation of the chat model provider for Google AI Studio.
  • Embedding: GoogleAiStudioEmbeddingProvider.java - Implementation of the embedding model provider for Google AI Studio.

This addon's code can be used as an example to add another AI Provider's LLM for ServerAssistantAI using their API.

HuggingFace Addon (LLM & Embedding)

  • Description: HuggingFace provides access to thousands of open-source models for free through the HuggingFace Inference API. This addon integrates HuggingFace models into ServerAssistantAI for both LLM and embedding functionality.
  • Credentials: HuggingFaceCredentialsLoader.java - Class responsible for loading HuggingFace credentials.
  • Chat Model: HuggingFaceChatModelProvider.java - Implementation of the chat model provider for HuggingFace.
  • Embedding: HuggingFaceEmbeddingProvider.java - Implementation of the embedding provider for HuggingFace.

Mistral AI Addon (LLM & Embedding)

  • Description: Mistral AI currently provides three types of access to Large Language Models. An API providing pay-as-you-go access to our latest models, Cloud-based deployments, Open source models available under the Apache 2.0 License, available on Hugging Face or directly from the documentation. This addon integrates Mistral AI models into ServerAssistantAI for both LLM and embedding.
  • Credentials: MistralAiCredentialsLoader.java - Class responsible for loading Mistral AI credentials.
  • Chat Model: MistralAiChatModelProvider.java - Implementation of the chat model provider for Mistral AI.
  • Embedding: MistralAiEmbeddingProvider.java - Implementation of the embedding provider for Mistral AI.

More addons will be added over time, so stay tuned for updates!

API

ServerAssistantAI provides a powerful API for developers to integrate the AI assistant's functionality into their own plugins or applications, as well as create Addons for ServerAssistantAI.

The API is subject to change in future versions as we improve ServerAssistantAI and may result in breakages. You can join our discord server to make sure you're notified when a breaking change is done/will be done to ServerAssistantAI, so you can update your addons accordingly.

JavaDoc

Please check the links to ensure you are working with the desired version. The badges below display the latest versions.

API Version

ServerAssistantAI's API is public and accessible to all developers, even if they haven't purchased the plugin. As long as you obtain the plugin's JAR file legally, such as receiving it from someone for testing purposes, you can receive support for our API. However, using pirated or illegally obtained versions of ServerAssistantAI will not be eligible for support.

License

This repository is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.

Contributing

We welcome contributions from the community! If you have an idea for a new addon or want to improve an existing one, feel free to open an issue or submit a pull request.

Support

If you encounter any issues or have questions related to the addons or the API, please open an issue or join our Discord server and get quick support from our staff.

About

Official open-source addons for ServerAssistantAI!

Resources

License

Stars

Watchers

Forks

Languages