https://github.com/argosopentech/openai-api-py-lite
OpenAI API Python bindings with no dependencies
https://github.com/argosopentech/openai-api-py-lite
openai python
Last synced: 2 months ago
JSON representation
OpenAI API Python bindings with no dependencies
- Host: GitHub
- URL: https://github.com/argosopentech/openai-api-py-lite
- Owner: argosopentech
- License: mit
- Created: 2021-06-19T14:31:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-19T14:57:17.000Z (almost 4 years ago)
- Last Synced: 2025-02-01T08:12:31.174Z (4 months ago)
- Topics: openai, python
- Language: Python
- Homepage: https://www.argosopentech.com
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openai-api-py-lite
OpenAI API Python bindings with no dependencies```
from openaipylite import OpenAILanguageModellanguage_model = OpenAILanguageModel('')
res = language_model.infer('To be or not to be?')
print(res['choices'][0]['text'])
```