# mirascope.core.groq.dynamic_config
## <ApiType type="Module" path="core/groq/dynamic_config" symbolName="dynamic_config" /> dynamic_config
This module defines the function return type for functions as LLM calls.
## <ApiType type="Attribute" path="core/groq/dynamic_config" symbolName="AsyncGroqDynamicConfig" /> AsyncGroqDynamicConfig
**Type:** <TypeLink type={{"type_str": "BaseDynamicConfig[ChatCompletionMessageParam | BaseMessageParam, GroqCallParams, AsyncGroq]", "description": null, "kind": "generic", "base_type": {"type_str": "BaseDynamicConfig", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/base/dynamic_config#basedynamicconfig"}, "parameters": [{"type_str": "ChatCompletionMessageParam | BaseMessageParam", "description": null, "kind": "union", "base_type": {"type_str": "Union", "description": null, "kind": "simple", "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"}, "parameters": [{"type_str": "ChatCompletionMessageParam", "description": null, "kind": "simple", "doc_identifier": "ChatCompletionMessageParam"}, {"type_str": "BaseMessageParam", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/base/message_param#basemessageparam"}]}, {"type_str": "GroqCallParams", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/groq/call_params#groqcallparams"}, {"type_str": "AsyncGroq", "description": null, "kind": "simple", "doc_identifier": "AsyncGroq"}]}} />
## <ApiType type="Attribute" path="core/groq/dynamic_config" symbolName="GroqDynamicConfig" /> GroqDynamicConfig
**Type:** <TypeLink type={{"type_str": "BaseDynamicConfig[ChatCompletionMessageParam | BaseMessageParam, GroqCallParams, Groq]", "description": null, "kind": "generic", "base_type": {"type_str": "BaseDynamicConfig", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/base/dynamic_config#basedynamicconfig"}, "parameters": [{"type_str": "ChatCompletionMessageParam | BaseMessageParam", "description": null, "kind": "union", "base_type": {"type_str": "Union", "description": null, "kind": "simple", "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"}, "parameters": [{"type_str": "ChatCompletionMessageParam", "description": null, "kind": "simple", "doc_identifier": "ChatCompletionMessageParam"}, {"type_str": "BaseMessageParam", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/base/message_param#basemessageparam"}]}, {"type_str": "GroqCallParams", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/groq/call_params#groqcallparams"}, {"type_str": "Groq", "description": null, "kind": "simple", "doc_identifier": "Groq"}]}} />
The function return type for functions wrapped with the `groq_call` decorator.
Example:
```python
from mirascope.core import prompt_template
from mirascope.core.groq import GroqDynamicConfig, groq_call
@groq_call("llama-3.1-8b-instant")
@prompt_template("Recommend a {capitalized_genre} book")
def recommend_book(genre: str) -> GroqDynamicConfig:
return {"computed_fields": {"capitalized_genre": genre.capitalize()}}
```