Skip to content

Commit c20aee4

Browse files
author
Chris
committed
Merge branch 'Ch6-text-apps' of https://github.com/softchris/generative-ai-for-beginners into Ch6-text-apps
2 parents 04ee442 + 2d4ef94 commit c20aee4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

6-text-generation-apps/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Then there are libraries that operate on a higher level like:
7676
- **Semantic Kernel**. Semantic Kernel is a library by Microsoft supporting the languages C#, Python, and Java.
7777

7878
## First app using openai
79-
79+
Let's see how we can build our first app, what libraries we need, how much is required and so on.
8080
### Install openai
81-
81+
There are many libraries out there for interacting with OpenAI or Azure OpenAI. It's possible to use numerous programming languages as well like C#, Python, JavaScript, Java and more. We've chosen to use the `openai` Python library, so we'll use `pip` to install it.
8282
```bash
8383
pip install openai
8484
```
@@ -586,7 +586,7 @@ What we have so far is code that works, but there are some tweaks we should be d
586586
completion = openai.Completion.create(model="davinci-002", prompt=prompt, temperature=0.5)
587587
```
588588
589-
> Note, the close to 1.0, the higher the value.
589+
> Note, the closer to 1.0, the more varied the output.
590590
591591
592592

0 commit comments

Comments
 (0)