Skip to content

Commit 5676541

Browse files
committed
typo
1 parent 6752dec commit 5676541

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

dags/captains_dag.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
"""
2+
## Ask questions to Star Trek captains using OpenAI's LLMs, embed and visualize the results
3+
4+
This DAG shows how to use the OpenAI Airflow provider to interact with the OpenAI API.
5+
The DAG asks a question to a list of Star Trek captains given using Airflow params,
6+
embeds the responses using the OpenAI text-embedding-ada-002 model, and visualizes the
7+
embeddings in 2 dimensions using PCA, matplotlib and seaborn.
8+
"""
9+
110
from airflow.decorators import dag, task
211
from airflow.models.param import Param
312
from airflow.models.baseoperator import chain
@@ -38,7 +47,7 @@
3847
"Which is your favorite ship?",
3948
type="string",
4049
title="Question to ask the captains",
41-
description="Enter what you would like to ask the captain.",
50+
description="Enter what you would like to ask the captains.",
4251
min_length=1,
4352
max_length=500,
4453
),

0 commit comments

Comments
 (0)