Git Product home page Git Product logo

genlikan / factoria Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.1 MB

FactorIA is an innovative project that combines the automation and factory-building gameplay of Factorio with the advanced capabilities of a Large Language Model (LLM). This repository aims to enhance the Factorio experience by providing intelligent assistance, optimization suggestions, and interactive support through natural language processing.

License: MIT License

Lua 49.82% Python 45.42% Batchfile 0.06% SCSS 0.73% HTML 3.96%

factoria's Introduction

FactorIA

https://genlikan.github.io/FactorIA/

Enhancing the Factorio experience by leveraging the strengths of Large Language Models for real-time intelligent assistance.

alt text

FactorIA is an innovative project that combines the automation and factory-building gameplay of Factorio with the advanced capabilities of a Large Language Model (LLM). This repository aims to enhance the Factorio experience by providing intelligent assistance, accurate crafting calculations, optimization suggestions, and interactive support through natural language processing.

Experiments | TODO

alt text

Intelligent Assistant Features

  • Retrieve and Accurately Report Player's Inventory:
    • Automatically fetch and display the contents of the player's inventory.
  • Calculate Maximum Craft for Any Item with Player's Inventory:
    • Determine the maximum number of any item that can be crafted using the current inventory.
  • Calculate Crafts for Items Not in Player's Inventory:
    • Estimate crafting requirements for items that are not currently in the player's inventory.
  • Natural Language Support:
    • Ask questions and get answers within the game using Text-to-speech and Speech-to-text to converse with the model with the wake word "Listen".

Installation & Setup

Installing FactorIAMod for Factorio

  1. Download the "FactorIAMod" folder from this repository.
  2. Place the folder into "{AppData}\Roaming\Factorio\mods".
  3. The mod will show up under "Mods" as "FactorIA Mod" to be enabled.

Enabling RCON (Remote Console) in Factorio

  1. In Factorio's Main Menu, hold the Ctrl + Alt and press "Settings".
  2. The option "The rest" will appear.
  3. Under "Other settings" are the configurations for:
  • "local-rcon-socket"
  • "local-rcon-password"
  1. This enables the connection between the LLM and the game via the game mod.

Usage

Tested On

Factorio version 1.1.109 (build 62320, win64), Vanilla

  • OS: Windows 11 Pro, 23H2, 64-bit

    • OS build: 22631.3880
    • Experience: Windows Feature Experience Pack 1000.22700.1020.0
  • CPU: 12th Gen Intel(R) Core(TM) i9-12900K 3.20 GHz

  • GPU: NVIDIA GeForce RTX 3090

  • GPU Driver Version: 32.0.15.6070

  • RAM: 64.0 GB DDR5

  • Python: 3.11.5

factoria's People

Contributors

genlikan avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.