> ## Documentation Index
> Fetch the complete documentation index at: https://uom-demo.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# constants

> [<span className="flex items-center gap-1"><Icon icon="external-link"/>View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/tree/main/services/orchestrator/src/react_agent/constants.py)

Constants and enumerations for the React Agent Orchestrator service.

## react\_agent.constants.AvailableModel Objects

```python theme={null}
class AvailableModel(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L5)

Available models from Ollama and EINFRA for UI dropdown selection.

## react\_agent.constants.TranslationType Objects

```python theme={null}
class TranslationType(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L48)

The type of translation being requested (schema only, query only, or both).

## react\_agent.constants.FrameworkEnum Objects

```python theme={null}
class FrameworkEnum(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L56)

Supported Object-Relational/Graph/Document Mapping targets.

## react\_agent.constants.DotnetFramework Objects

```python theme={null}
class DotnetFramework(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L66)

Supported C#/.NET database frameworks for translation source.

## react\_agent.constants.JavaFramework Objects

```python theme={null}
class JavaFramework(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L74)

Supported Java database frameworks for translation targets.

## react\_agent.constants.SourceFramework Objects

```python theme={null}
class SourceFramework(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L81)

Supported source frameworks for translating queries/schemas (relational C#/.NET).

## react\_agent.constants.TargetFramework Objects

```python theme={null}
class TargetFramework(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L89)

Supported target database frameworks for migration (Java MongoDB/Neo4j).

## react\_agent.constants.SandboxType Objects

```python theme={null}
class SandboxType(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L96)

Supported Daytona validation sandbox types representing isolated runtime environments.

## react\_agent.constants.LanguageType Objects

```python theme={null}
class LanguageType(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L103)

Supported programming language types for code generation and validation.

## react\_agent.constants.LanggraphCustomEventKeys Objects

```python theme={null}
class LanggraphCustomEventKeys(str, Enum)
```

[<span className="flex items-center gap-1"><Icon icon="external-link" />View Source</span>](https://github.com/corovcam/Universal-Object-Mapping/blob/main/services/orchestrator/src/react_agent/constants.py#L110)

Keys representing custom execution events sent to the LangGraph client for UI streaming.

#### react\_agent.constants.FRAMEWORK\_TO\_NORMALIZED\_NAME

Mapping used to normalize enum representations into simple snake\_case strings
suitable for LLM prompt injections and JSON keys.

#### react\_agent.constants.NORMALIZED\_FRAMEWORK\_TO\_FRAMEWORK

Mapping from normalized snake\_case strings back to the original FrameworkEnum representations.

#### react\_agent.constants.FRAMEWORK\_TO\_LANGUAGE\_TYPE

Mapping of each framework type to its corresponding programming language type for code generation and validation logic.

#### react\_agent.constants.FRAMEWORK\_TO\_SNIPPET\_FILES

Mapping of framework types to their corresponding schema and query snippet file names.

#### react\_agent.constants.FRAMEWORK\_TO\_CONFIG\_FILES

Mapping of framework types to their respective project configuration file names (e.g., .csproj, pom.xml).

#### react\_agent.constants.MODEL\_PROFILE\_CACHE: `dict[str, dict]`

A global, static cache used to store LLM ModelProfile capabilities (like max token counts)
to avoid repetitively querying the AI Gateway or specific LLM endpoints.

#### react\_agent.constants.MAX\_EXTRACTION\_LOOPS

The maximum number of retry loops the graph will allow when the LLM fails to
correctly extract schema or query code from the user's initial prompt.

#### react\_agent.constants.MAX\_TRANSLATION\_LOOPS

The maximum number of retry loops the graph will allow for compiling/validating
the translated code in the sandboxes before finally failing.

#### react\_agent.constants.GENERAL\_SANDBOX\_README

The generic README file injected into all generated Validation Sandboxes.
It provides connection strings and URLs dynamically substituted via str.format().
