# GooseAI

> **Class** in `langchain_community`

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

GooseAI large language models.

To use, you should have the ``openai`` python package installed, and the
environment variable ``GOOSEAI_API_KEY`` set with your API key.

Any parameters that are valid to be passed to the openai.create call can be passed
in, even if not explicitly saved on this class.

## Signature

```python
GooseAI()
```

## Description

**Example:**

.. code-block:: python

from langchain_community.llms import GooseAI
gooseai = GooseAI(model_name="gpt-neo-20b")

## Extends

- `LLM`

## Properties

- `client`
- `model_name`
- `temperature`
- `max_tokens`
- `top_p`
- `min_tokens`
- `frequency_penalty`
- `presence_penalty`
- `n`
- `model_kwargs`
- `logit_bias`
- `gooseai_api_key`
- `model_config`

## Methods

- [`build_extra()`](https://reference.langchain.com/python/langchain-community/llms/gooseai/GooseAI/build_extra)

---

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