Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/workingdog/kwuikai
SwiftUI OpenAI demo App
https://github.com/workingdog/kwuikai
Last synced: about 5 hours ago
JSON representation
SwiftUI OpenAI demo App
- Host: GitHub
- URL: https://github.com/workingdog/kwuikai
- Owner: workingDog
- License: mit
- Created: 2024-01-05T23:47:39.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-06T01:15:12.000Z (7 months ago)
- Last Synced: 2024-04-06T02:23:28.530Z (7 months ago)
- Language: Swift
- Homepage:
- Size: 3.89 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# SwiftUI OpenAI demo App
A chat-like SwiftUI OpenAI demo App, includes text and image output.
Using, the **Swift-Almanac** `OpenAI API Client Library in Swift` [OpenAISwift](https://github.com/Swift-Almanac/OpenAISwift),
`a community-maintained library to access OpenAI HTTP API's.`
### Usage
- **Tap** on a question or answer, to **copy** it to the `Pasteboard` and enable you to paste it elsewhere.
- **Swipe left** on a question/answer, to deleted it.
- **Tap** on the `trash can`, to delete **all** questions and answers.- **Tap** on the `share`, to share the previously tapped answer.
- **Pick** the AI answer type, `Chat` or `Image`.
#### Settings
Press the **gear shape** icon to:
- enter the **required** OpenAI api key,
- select the OpenAI model parameters,
- select the UI colors,
- select the UI language
### References- [OpenAI API Client Library in Swift](https://github.com/Swift-Almanac/OpenAISwift)
### Requirement
**Requires** a valid OpenAI key, see:
- [OpenAI](https://openai.com/)
Copy and paste the key into the **Settings** ("gear shape") and save it in the `Enter key` area.
### License
The MIT License (MIT)