(string body)
| 148 | } |
| 149 | |
| 150 | private static ulong ParseId(string body) |
| 151 | { |
| 152 | // Parse the ID from the response body |
| 153 | return ulong.Parse(body); |
| 154 | } |
| 155 | |
| 156 | // === Snippet 8: External AI API example === |
| 157 | [SpacetimeDB.Table(Accessor = "AiMessage", Public = true)] |