# Nebula

> **Class** in `langchain_community`

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

Nebula Service models.

To use, you should have the environment variable ``NEBULA_SERVICE_URL``,
``NEBULA_SERVICE_PATH`` and ``NEBULA_API_KEY`` set with your Nebula
Service, or pass it as a named parameter to the constructor.

## Signature

```python
Nebula()
```

## Description

**Example:**

.. code-block:: python

from langchain_community.llms import Nebula

nebula = Nebula(
    nebula_service_url="NEBULA_SERVICE_URL",
    nebula_service_path="NEBULA_SERVICE_PATH",
    nebula_api_key="NEBULA_API_KEY",
)

## Extends

- `LLM`

## Properties

- `model_kwargs`
- `nebula_service_url`
- `nebula_service_path`
- `nebula_api_key`
- `model`
- `max_new_tokens`
- `temperature`
- `top_p`
- `repetition_penalty`
- `top_k`
- `stop_sequences`
- `max_retries`
- `model_config`

## Methods

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

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/llms/symblai_nebula.py#L27)