# Address Parsing and Intent Extraction

The `address_intent_fetch` method processes user-provided address information using natural language understanding. It extracts structured data such as street names, cities, postal codes, and action intents like adding, updating, or deleting an address.

```python
# Initialize CatalogLake
cl = Cataloglake()

# Define the payload
address_intent_fetch_payload = {
    "prompt": "my address is 505 prestige empire Kothanur Bangalore 560079",
    "language": "en-us",
    "action_intent": "add_address",
    "model": "openai"
}

# Fetch address intent results
try:
    address_data = cl.address_intent_fetch(address_intent_fetch_payload)
    print(address_data)
except Exception as e:
    print("Error:", str(e))
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.groclake.ai/lakes/index-stores/cataloglake/address-parsing-and-intent-extraction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
