Skip to content

Commit e70ba13

Browse files
committedMar 10, 2025·
Readme tweaks
1 parent 53b1831 commit e70ba13

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This repository contains a collection of Python scripts that demonstrate how to use the OpenAI API to generate chat completions.
44

5+
## OpenAI package
6+
7+
These scripts use the OpenAI package to demonstrate how to use the OpenAI API.
58
In increasing order of complexity, the scripts are:
69

710
1. [`chat.py`](./chat.py): A simple script that demonstrates how to use the OpenAI API to generate chat completions.
@@ -14,9 +17,9 @@ Plus these scripts to demonstrate additional features:
1417
* [`chat_safety.py`](./chat_safety.py): The simple script with exception handling for Azure AI Content Safety filter errors.
1518
* [`chat_async.py`](./chat_async.py): Uses the async clients to make asynchronous calls, including an example of sending off multiple requests at once using `asyncio.gather`.
1619

17-
## Using popular libraries
20+
## Popular LLM libraries
1821

19-
These scripts use popular libraries to demonstrate how to use the OpenAI API with them:
22+
These scripts use popular LLM libraries to demonstrate how to use the OpenAI API with them:
2023

2124
* [`chat_langchain.py`](./chat_langchain.py): Uses the Langchain package to generate chat completions. [Learn more from Langchain docs](https://python.langchain.com/docs/get_started/quickstart)
2225
* [`chat_llamaindex.py`](./chat_llamaindex.py): Uses the LlamaIndex package to generate chat completions. [Learn more from LlamaIndex docs](https://docs.llamaindex.ai/en/stable/)

0 commit comments

Comments
 (0)
Please sign in to comment.