Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'realms'})
This happened while the json dataset builder was generating data using
hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki/data/enums.json (at revision a075197c78ab2860037b2ffed2352f4df322a290), ['hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/classes.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/enums.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/global-functions.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/hooks.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/libraries.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/panels.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/structs.json'], ['hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/classes.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/enums.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/global-functions.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/hooks.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/libraries.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/panels.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/structs.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 784, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 795, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
fields: list<item: struct<name: string, value: int64, description: string, references: list<item: struct<nam (... 103 chars omitted)
child 0, item: struct<name: string, value: int64, description: string, references: list<item: struct<name: string, (... 91 chars omitted)
child 0, name: string
child 1, value: int64
child 2, description: string
child 3, references: list<item: struct<name: string, resolved: bool, canonicalName: string, id: string, documentationURLs (... 22 chars omitted)
child 0, item: struct<name: string, resolved: bool, canonicalName: string, id: string, documentationURLs: list<item (... 10 chars omitted)
child 0, name: string
child 1, resolved: bool
child 2, canonicalName: string
child 3, id: string
child 4, documentationURLs: list<item: string>
child 0, item: string
realms: list<item: string>
child 0, item: string
description: string
name: string
canonicalName: string
documentationURLs: list<item: string>
child 0, item: string
retrievalDate: string
references: list<item: extension<arrow.json>>
child 0, item: extension<arrow.json>
functions: null
-- schema metadata --
huggingface: '{"info": {"features": {"fields": {"feature": {"name": {"dty' + 983
to
{'name': Value('string'), 'description': Value('string'), 'functions': List(Json(decode=True)), 'canonicalName': Value('string'), 'documentationURLs': List(Value('string')), 'retrievalDate': Value('string'), 'references': List(Json(decode=True)), 'fields': List({'name': Value('string'), 'type': Value('string'), 'description': Value('string'), 'parent': Value('string'), 'realms': List(Value('string')), 'references': List({'name': Value('string'), 'resolved': Value('bool')})})}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'realms'})
This happened while the json dataset builder was generating data using
hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki/data/enums.json (at revision a075197c78ab2860037b2ffed2352f4df322a290), ['hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/classes.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/enums.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/global-functions.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/hooks.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/libraries.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/panels.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/structs.json'], ['hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/classes.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/enums.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/global-functions.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/hooks.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/libraries.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/panels.json', 'hf://datasets/Lord-of-Owls/Garrys-Mod-Wiki@a075197c78ab2860037b2ffed2352f4df322a290/data/structs.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
name string | description string | functions list | canonicalName string | documentationURLs list | retrievalDate string | references list | fields null |
|---|---|---|---|---|---|---|---|
Angle | List of all possible functions to manipulate angles.
Created by <page>Global.Angle</page>.
| Type | Name | Description |
| ------------------- | ------------------------------------ | -------------------------------- |
| <page>number</page> | `p` or ... | [
"{\"name\":\"Add\",\"parent\":\"Angle\",\"realms\":[\"menu\",\"client\",\"server\"],\"description\":\"Adds the values of the argument angle to the orignal angle.\\n\\nThis functions the same as angle1 + angle2 without creating a new angle object, skipping object construction and garbage collection.\",\"arguments\":... | Angle | [
"https://wiki.facepunch.com/gmod/Angle"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"Global.Angle\",\"resolved\":false}",
"{\"name\":\"number\",\"canonicalName\":\"number\",\"resolved\":true,\"id\":\"number:number\"}",
"{\"name\":\"Angle\",\"canonicalName\":\"Angle\",\"resolved\":true,\"id\":\"library:Angle\",\"documentationURLs\":[\"https:\\/\\/wiki.facepunch.com\\/gmod\\/Angle\"]... | null |
bf_read | This is the object passed to <page>usermessage.Hook</page> when a message is received. It contains each value stored in the message in sequential order. You should read values from it in the order you wrote them.
<deprecated>You should be using <page>net</page> instead</deprecated> | [
"{\"name\":\"ReadAngle\",\"parent\":\"bf_read\",\"realms\":[\"client\"],\"description\":\"Reads and returns an angle object from the bitstream.\",\"returnValues\":[{\"type\":\"Angle\",\"description\":\"The read angle\"}],\"canonicalName\":\"bf_read:ReadAngle\",\"documentationURLs\":[\"https:\\/\\/wiki.facepunch.com... | bf_read | [
"https://wiki.facepunch.com/gmod/bf_read"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"usermessage.Hook\",\"resolved\":false}",
"{\"name\":\"net\",\"resolved\":false}"
] | null |
CEffectData | List of all possible functions available for effect data. This is the object returned by the <page text="EffectData">Global.EffectData</page> function and is required for <page>util.Effect</page> function. | [
"{\"name\":\"GetAngles\",\"parent\":\"CEffectData\",\"realms\":[\"client\",\"server\"],\"description\":\"Returns the angles of the effect.\",\"returnValues\":[{\"type\":\"Angle\",\"description\":\"The angles of the effect\"}],\"canonicalName\":\"CEffectData:GetAngles\",\"documentationURLs\":[\"https:\\/\\/wiki.face... | CEffectData | [
"https://wiki.facepunch.com/gmod/CEffectData"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"util.Effect\",\"resolved\":false}"
] | null |
CLuaEmitter | List of all possible functions available for LuaEmitters. This is the object returned by the <page>Global.ParticleEmitter</page> function. | [
"{\"name\":\"Add\",\"parent\":\"CLuaEmitter\",\"realms\":[\"client\"],\"description\":\"Creates a new <page>CLuaParticle<\\/page> with the given material and position.\",\"arguments\":[{\"name\":\"material\",\"type\":\"string\",\"description\":\"The particles material. Can also be an <page>IMaterial<\\/page>.\",\"r... | CLuaEmitter | [
"https://wiki.facepunch.com/gmod/CLuaEmitter"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"Global.ParticleEmitter\",\"resolved\":false}"
] | null |
CLuaLocomotion | This class is essentially what controls a <page>NextBot</page> NPC. You can access it in a <page>NextBot</page> NPC by using **self.loco** variable. | [
"{\"name\":\"Approach\",\"parent\":\"CLuaLocomotion\",\"realms\":[\"server\"],\"description\":\"Moves the <page text=\\\"NextBot\\\">NextBot<\\/page> incrementally closer to the provided goal location.\\n\\nEach time this function is called, the NextBot moves towards the goal position passed as an argument by the a... | CLuaLocomotion | [
"https://wiki.facepunch.com/gmod/CLuaLocomotion"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"NextBot\",\"canonicalName\":\"NextBot\",\"resolved\":true,\"id\":\"library:NextBot\",\"documentationURLs\":[\"https:\\/\\/wiki.facepunch.com\\/gmod\\/NextBot\"]}"
] | null |
CLuaParticle | List of all possible functions available for Lua particles. This is the object returned by the <page>CLuaEmitter:Add</page> function. | [
"{\"name\":\"GetAirResistance\",\"parent\":\"CLuaParticle\",\"realms\":[\"client\"],\"description\":\"Returns the air resistance of the particle.\",\"returnValues\":[{\"type\":\"number\",\"description\":\"The air resistance of the particle\"}],\"canonicalName\":\"CLuaParticle:GetAirResistance\",\"documentationURLs\... | CLuaParticle | [
"https://wiki.facepunch.com/gmod/CLuaParticle"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"Add\",\"canonicalName\":\"CLuaEmitter:Add\",\"resolved\":true,\"id\":\"api:CLuaEmitter:Add\",\"documentationURLs\":[\"https:\\/\\/wiki.facepunch.com\\/gmod\\/CLuaEmitter:Add\"]}"
] | null |
CMoveData | A class used to store the inputs from <page>CUserCmd</page> and other information related to the current movement simulation, such as velocity, position and so on.
This can only be accessed during <page>GM:SetupMove</page> , <page>GM:Move</page> , <page>GM:PlayerTick</page> and <page>GM:FinishMove</page>. | [
"{\"name\":\"AddKey\",\"parent\":\"CMoveData\",\"realms\":[\"client\",\"server\"],\"description\":\"Adds keys to the move data, as if player pressed them.\",\"arguments\":[{\"name\":\"keys\",\"type\":\"number\",\"description\":\"Keys to add, see <page>Enums\\/IN<\\/page>\",\"references\":[{\"name\":\"Enums\\/IN\",\... | CMoveData | [
"https://wiki.facepunch.com/gmod/CMoveData"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"CUserCmd\",\"canonicalName\":\"CUserCmd\",\"resolved\":true,\"id\":\"library:CUserCmd\",\"documentationURLs\":[\"https:\\/\\/wiki.facepunch.com\\/gmod\\/CUserCmd\"]}",
"{\"name\":\"GM:SetupMove\",\"resolved\":false}",
"{\"name\":\"GM:Move\",\"resolved\":false}",
"{\"name\":\"GM:PlayerTick\",\"res... | null |
CNavArea | An object returned by <page>navmesh</page> functions. | [
"{\"name\":\"AddAttributes\",\"parent\":\"CNavArea\",\"realms\":[\"server\"],\"description\":\"Adds given attributes to given <page>CNavArea<\\/page>. See <page>CNavArea:HasAttributes<\\/page> and <page>CNavArea:SetAttributes<\\/page>.\",\"arguments\":[{\"name\":\"attribs\",\"type\":\"number\",\"description\":\"The... | CNavArea | [
"https://wiki.facepunch.com/gmod/CNavArea"
] | 2026-10-09T14:12:51.486Z | [
"{\"name\":\"navmesh\",\"resolved\":false}"
] | null |
CNavLadder | An object that represents a ladder for Nextbots. | ["{\"name\":\"ConnectTo\",\"parent\":\"CNavLadder\",\"realms\":[\"server\"],\"description\":\"Connec(...TRUNCATED) | CNavLadder | [
"https://wiki.facepunch.com/gmod/CNavLadder"
] | 2026-10-09T14:12:51.486Z | null | null |
CNewParticleEffect | "This object represents a .pcf ( Orange Box ) particle system. Created by <page>Entity:CreateParticl(...TRUNCATED) | ["{\"name\":\"AddControlPoint\",\"parent\":\"CNewParticleEffect\",\"realms\":[\"client\"],\"descript(...TRUNCATED) | CNewParticleEffect | [
"https://wiki.facepunch.com/gmod/CNewParticleEffect"
] | 2026-10-09T14:12:51.486Z | ["{\"name\":\"CreateParticleEffect\",\"canonicalName\":\"Entity:CreateParticleEffect\",\"resolved\":(...TRUNCATED) | null |
Garry's Mod Wiki Documentation Dataset
Overview
A structured collection of Garry's Mod API documentation intended for local language models, coding agents, retrieval-augmented generation (RAG), and programming assistance.
The dataset organizes documentation into structured JSON records, retaining API names, descriptions, realms, function signatures, enum fields, and source URLs where available.
Data Fields
Records may contain the following fields, depending on their documentation type:
| Field | Description |
|---|---|
name |
Original documentation name |
canonicalName |
Normalized identifier derived from the documentation URL |
description |
Description of the API element |
realms |
Applicable execution realms, such as client, server, or shared |
documentationURLs |
Source documentation URLs |
retrievalDate |
Date the record was retrieved |
functions |
Nested function documentation, where applicable |
fields |
Enum members or other structured fields, where applicable |
arguments |
Function arguments, where documented |
returnValues |
Function return values, where documented |
Not every record contains every field.
Intended Uses
- API documentation retrieval for local coding agents
- Retrieval-augmented generation (RAG)
- Lua code-generation assistance
- API lookup and realm filtering
- Documentation search and cross-referencing
Source
Documentation source: Garry's Mod Wiki
Data Limitations
The dataset is programmatically collected and may contain missing fields, outdated descriptions, invalid URLs, or inconsistencies in canonical names. Verify generated code against the official documentation before use.
License
The dataset's licensing and redistribution terms have not been specified here. Review the source website's terms and determine an appropriate dataset license before publishing.
- Downloads last month
- 102