utkarsharma2 opened a new pull request, #35023:
URL: https://github.com/apache/airflow/pull/35023

   This PR is part of our larger effort to add first-class integrations to 
support LLMOps that was [presented at Airflow 
Summit](https://www.youtube.com/watch?v=mgA6m3ggKhs&t=4s). 
   
   This PR adds explicitly the OpenAI Provider. OpenAI is a leading American 
artificial intelligence organization, which offers one of the most used LLM - 
ChatGPT and offers embedding models. 
    
   The primary objective of this Provider is to present users with an 
alternative embedding model. This allows them to generate vectors for their 
proprietary data, a pivotal step towards establishing integrations with LLM 
models like ChatGPT.
   
   Example DAG:
   The `OpenAIEmbeddingOperator` can accept either a string or a callable 
returning a list of strings.
   ```
   OpenAIEmbeddingOperator(
           task_id="embedding_using_xcom_data",
           conn_id="openai_default",
           input_text=xcom_text["input_text"],
           model="text-embedding-ada-002",
       )
   ```
   
   Email Discussion related to the effort can be found here - 
https://lists.apache.org/thread/0d669fmy4hn29h5c0wj0ottdskd77ktp


-- 
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