Unity Asset Store
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/6
llama.cs is a simple implementation of an LLM Chat built on top of llama.cs, the C# binding for llama.cpp. It includes llama.cs, high-level APIs like LLM, LLMHost, and a Chat UI.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity Version
Built-in
URP
HDRP
2021.3.31f1
Compatible
Compatible
Compatible
Description

This asset serves as an excellent starting point for exploring and utilizing Large Language Models (LLMs) within the Unity environment. It comes equipped with the llama.cs binding, precompiled binaries for Windows (instructions for compiling binaries on other platforms, available in the orginal llama.cpp repository), and a straightforward and simplistic user interface. Whether you are a developer looking to integrate LLMs into your Unity projects or an enthusiast eager to experiment with language models, this asset provides the essential tools.


IMPORTANT: Ensure that you are comfortable with https://github.com/ggerganov/llama.cpp


GPT 4 integration example:

https://github.com/Battlehub0x/OpenAI-Unity?tab=readme-ov-file#importing-the-package


Documentation | Telegram | llama.cpp repository


Technical details

Features:

♥ Single-file llama.cs: The C# binding for llama.cpp

♥ High-level LLM wrapper implementation

♥ Optimized Chat UI with Virtualized Scroll View

♥ Open AI GPT 4 integration


llama.cs

(7)
25 users have favourite this asset
(25)
$15
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
See details.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
License type
Single Entity
File size
144.9 MB
Latest version
1.2.1
Latest release date
Oct 10, 2024
Original Unity version
2021.3.31 or higher
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members