# OCIGenAIBase

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/oci_generative_ai/OCIGenAIBase)

Base class for OCI GenAI models

## Signature

```python
OCIGenAIBase()
```

## Extends

- `BaseModel`
- `ABC`

## Properties

- `client`
- `auth_type`
- `auth_profile`
- `auth_file_location`
- `model_id`
- `provider`
- `model_kwargs`
- `service_endpoint`
- `compartment_id`
- `is_stream`
- `model_config`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/llms/oci_generative_ai/OCIGenAIBase/validate_environment)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/llms/oci_generative_ai.py#L61)