beamable / ai-forge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Forge

Interactive Demo: https://aiforge.beamable.com
Beamable Discord: https://discord.gg/naCFAEWqbJ
Video Demo: https://beamable-demos.s3.us-west-2.amazonaws.com/gamejam2023-aiforger.mp4

Overview

This project, which is built with Beamable, primarily demonstrates Federated Inventory inconjunction with Generative AI (OpenAI and Scenario.com) to dynamically produce Content.

A custom C# Microservice, developed and deployed to Beamable's backend from within Unity, is used to provide custom APIs to the AI Forge game client, so that it may request new sword content be created.

Project Structure

Assets/Game - Game client code
Assets/Beamable/Microservices - Microservice and managed storage code
Assets/Beamable/Autogenerated - Auto-generated microservice client code
Assets/Beamable/Microservices/AIMicroservice/Configuration.cs - This file must be updated with your own OpenAI and Scenario.com API keys in order for this project to work. See a preview of the file below:

namespace Beamable.Microservices
{
    internal class Configuration
    {
        // todo put that into realm config and read it from there
        public const string OpenAiApiKey = "OpenAI key needed"; // OpenAI.com API key
        public const string ScenarioApiKey = "Scenario key needed"; // Scenario.com API key
    }
}



Features and Dependencies

Beamable SDK Version: https://beamable.github.io/changes/#1.12.0
Unity version: https://unity.com/releases/editor/whats-new/2021.3.18

Beamable Features:

Generative AI Dependencies:

About


Languages

Language:C# 97.3%Language:ShaderLab 1.7%Language:HLSL 0.8%Language:Objective-C++ 0.1%Language:Objective-C 0.1%Language:Dockerfile 0.0%