# SnowflakeMetadataFactory

> **Class** in `langchain_snowflake`

📖 [View in docs](https://reference.langchain.com/python/langchain-snowflake/chat_models/utils/SnowflakeMetadataFactory)

Factory class for creating LangChain metadata objects.

## Signature

```python
SnowflakeMetadataFactory()
```

## Methods

- [`create_usage_metadata()`](https://reference.langchain.com/python/langchain-snowflake/chat_models/utils/SnowflakeMetadataFactory/create_usage_metadata)
- [`create_response_metadata()`](https://reference.langchain.com/python/langchain-snowflake/chat_models/utils/SnowflakeMetadataFactory/create_response_metadata)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-snowflake/blob/fab0c716e9197e2afb7ee433491251a8ef12b9c4/libs/snowflake/langchain_snowflake/chat_models/utils.py#L350)