Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)