# What language is used to write prompt based generative AI

**URL:** <https://community.deeplearning.ai/t/what-language-is-used-to-write-prompt-based-generative-ai/505295>\
**Category:** Generative AI for Everyone\
**Tags:** week-module-2\
**Created:** [November 27, 2023, 9:25pm UTC](https://community.deeplearning.ai/t/what-language-is-used-to-write-prompt-based-generative-ai/505295 "2023-11-27T21:25:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerrit\_Stevens](https://avatars.discourse-cdn.com/v4/letter/g/77aa72/32.png) [@Gerrit\_Stevens](https://community.deeplearning.ai/u/Gerrit_Stevens)\
**Post date:** [November 27, 2023, 9:25pm UTC](https://community.deeplearning.ai/t/what-language-is-used-to-write-prompt-based-generative-ai/505295/1 "2023-11-27T21:25:43Z")

</div>

Hello,  
My question is maybe related to the question of Tajinder\_Singh

What is the language used to write the code llm\_response (promt-based) development like you have python or tensor flow for machine learning?  
Why is written a promt based code going faster than writing a deep learning model in tensorflow?

---

<div class="post-metadata">

**Author:** ![Tajinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@Tajinder\_Singh](https://community.deeplearning.ai/u/Tajinder_Singh)\
**Post date:** [November 28, 2023, 9:03am UTC](https://community.deeplearning.ai/t/what-language-is-used-to-write-prompt-based-generative-ai/505295/2 "2023-11-28T09:03:51Z")

</div>

Hi Gerrit,

I am not sure I quite understand your question.  
Are you asking about the _llm\_response_ function which was presented in the optional video and jupyter notebook?  
It is simply an API call to a LLM, in this case gpt3.5. An API call is just a programmatic way to do the same thing we do when we open the chat-gpt website in the browser and use the chat interface.

---

<div class="post-metadata">

**Author:** ![Gerrit\_Stevens](https://avatars.discourse-cdn.com/v4/letter/g/77aa72/32.png) [@Gerrit\_Stevens](https://community.deeplearning.ai/u/Gerrit_Stevens)\
**Post date:** [November 28, 2023, 10:02am UTC](https://community.deeplearning.ai/t/what-language-is-used-to-write-prompt-based-generative-ai/505295/3 "2023-11-28T10:02:48Z")

</div>

Hello Tajinder\_Singh,  
yes it is more clear now. The replies on your question did it.  
Anyway can you provide me the link of the jupyter notebook where I can find the code or is this the link provided via the 3the video week 2  
 ![image](https://global.discourse-cdn.com/dlai/original/3X/6/4/642178e597d14dd8eacb8876f902b865b0f81088.png)
