phanikumv commented on code in PR #69589:
URL: https://github.com/apache/airflow/pull/69589#discussion_r3542582852


##########
providers/anthropic/docs/quickstart.rst:
##########
@@ -0,0 +1,87 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+.. _howto/quickstart:
+
+Quick start
+===========
+
+Go from zero to a submitted Claude batch in three steps: install the provider,
+configure a connection, and write a Dag around ``AnthropicBatchOperator``. This
+provider is built around the Message Batches API and Managed Agent sessions;
+for interactive, single-call LLM tasks, use 
``apache-airflow-providers-common-ai`` instead.
+
+1. Install
+----------
+
+.. code-block:: bash
+
+    pip install apache-airflow-providers-anthropic
+
+2. Configure the connection
+---------------------------
+
+Batches run through an Anthropic connection (``conn_type`` ``anthropic``,
+default connection id ``anthropic_default``). For the first-party API, put
+your Anthropic API key in the password field. See 
:ref:`howto/connection:anthropic`
+for the full reference, including the ``platform`` extra for running on
+Amazon Bedrock, Google Vertex AI, Claude Platform on AWS or Microsoft Foundry,
+and for keyless auth via Workload Identity Federation.
+
+The quickest way to set one up is an environment variable:
+
+.. code-block:: bash
+
+    export AIRFLOW_CONN_ANTHROPIC_DEFAULT='{"conn_type": "anthropic", 
"password": "sk-ant-..."}'
+
+Or add it through the Airflow UI (``Admin > Connections``) or the CLI 
(``airflow connections add``).
+
+3. Write your first Dag
+-----------------------
+
+``AnthropicBatchOperator`` submits a Message Batch — a list of
+``messages.create`` requests — and waits for it to reach a terminal status.
+A task retry resubmits a **new** batch, so set ``retries=0``:
+
+
+.. exampleinclude:: 
/../../antropic/src/airflow/providers/anthropic/example_dags/example_batch.py

Review Comment:
   but then you still have the antropic folder, with a typo ( without `h` ). 
lets see how the docs build works here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to