> ## Documentation Index
> Fetch the complete documentation index at: https://private-04b27de1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.code_utils.infer_lang

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### infer\_lang

```python theme={null}
infer_lang(code: str) -> str
```

Infer the language for the code.<br />TODO: make it robust.

<b>Parameters:</b>

| Name   | Description   |
| ------ | ------------- |
| `code` | **Type:** str |

<br />
