---
title: "Discussion on \"Controlling AI : Understanding System Prompts\" | Hashnode"
description: "Discussion on \"Controlling AI : Understanding System Prompts\". How to chat with LLM models such as OPEN AI and Gemini using Python SDK\nOPEN AI\nfrom dotenv import load_dotenv\nfrom openai import OpenAI\n\nload_dotenv()\n\nclient=OpenAI()\n\n#this is a stateless chat meaining if it the next message if you send what is my..."
url: "https://hashnode.com/posts/controlling-ai-understanding-system-prompts/68cd69d3d35240253ae90a73"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Controlling AI : Understanding System Prompts](https://magic-of-genai-the-next-word-predictor.hashnode.dev/controlling-ai-understanding-system-prompts?utm_source=hashnode&utm_medium=feed)

How to chat with LLM models such as OPEN AI and Gemini using Python SDK OPEN AI from dotenv import load\_dotenv from openai import OpenAI load\_dotenv() client=OpenAI() #this is a stateless chat meaining if it the next message if you send what is my...

Sep 19, 2025 · 14 min read · magic-of-genai-the-next-word-predictor.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Arpit Gajya](https://hashnode.com/@akgajya)

@akgajya

  
[View profile](https://hashnode.com/@akgajya)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
