Skip to content

Commit 5a6e62b

Browse files
authored
Update README.MD
1 parent 2b08bde commit 5a6e62b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.MD

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
This is a native iOS, macOS, watchOS, tvOS App for interacting with ChatGPT built using SwiftUI and OpenAPI API. It's using Official ChatGPT endpoint with `gpt-3.5-turbo` model.
66

7-
## Separate SPM repo for API only
8-
you can add dependency for [ChatGPTSwift](https://github.com/alfianlosari/ChatGPTSwift) to access the API only if you want to integrate into your own app
97

108
## Video tutorial
119
- [iOS YouTube](https://youtu.be/PLEgTCT20zU)
@@ -14,8 +12,19 @@ you can add dependency for [ChatGPTSwift](https://github.com/alfianlosari/ChatGP
1412
- [tvOS YouTube](https://youtu.be/7RQHG7GXJ_U)
1513
- [Upgrade to Official API YouTube](https://youtu.be/9byLhs5hQjI)
1614

17-
## Requierements
15+
## Requirements
1816
- Xcode 14
1917
- Register at openai.com/api
2018
- Create API Key
2119
- Paste API key in ContentView where the ChatGPTAPI instance is declared
20+
21+
## ChatGPTSwift API Lib
22+
You can use this standalone api client to access ChatGPT API, you can add dependency for [ChatGPTSwift](https://github.com/alfianlosari/ChatGPTSwift) to access the API only if you want to integrate into your own app.
23+
24+
## GPT Encoder Lib
25+
I've also created [GPTEncoder](https://github.com/alfianlosari/GPTEncoder) Swift BPE Encoder/Decoder for OpenAI GPT Models. A programmatic interface for tokenizing text for OpenAI GPT API.
26+
27+
## GPT Tokenizer UI Lib
28+
I've also created [GPTTokenizerUI](https://github.com/alfianlosari/GPTTokenizerUI), a SPM lib you can integrate in your app for providing GUI to input text and show the tokenization results used by GPT API.
29+
30+
![Alt text](https://imagizer.imageshack.com/v2/640x480q70/922/CEVvrE.png "image")

0 commit comments

Comments
 (0)