---
title: "Discussion on \"Init AI (Understand Temperature)\" | Hashnode"
description: "Discussion on \"Init AI (Understand Temperature)\". import os\nfrom openai import OpenAI\n\nclient = OpenAI(\n    api_key=os.getenv(\"OPENAI_API_KEY\"),\n    base_url=os.getenv(\"OPENAI_API_BASE\")\n)\n\nprompt = \"Write a one-sentence story about a robot.\"\n\nprint("
url: "https://hashnode.com/posts/init-ai-understand-temperature/69c9d7ef5282e6ac9c1d499c"
---

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

Discussion

# [Init AI (Understand Temperature)](https://bipinalchetti.hashnode.dev/init-ai-understand-temperature?utm_source=hashnode&utm_medium=feed)

import os from openai import OpenAI client = OpenAI( api\_key=os.getenv("OPENAI\_API\_KEY"), base\_url=os.getenv("OPENAI\_API\_BASE") ) prompt = "Write a one-sentence story about a robot." print(

Mar 30 · 1 min read · bipinalchetti.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#learning](https://hashnode.com/tag/learning)

## Written by

[Bipin Alchetti](https://hashnode.com/@bipinalchetti)

@bipinalchetti

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
