- Console app built with C# for the sake of learning.
- Current objective is to build a Mininal "LLM-Shell" desktop application.
- Vibe Coding:
- How to leverage the power of chatGPT to learn a new programming language and build a usable app.
- OO Programming:
- How to model the entire app as interactions between entities with distinct roles.
- C# Features:
- Pattern matching:
switchexpression=>(arrow function) for lambda functions.
- Indeces and Range
- Adaptor Pattern:
- Essentially "I have an existing class with desired functionalities, let me do something around it so this class fits into the entire system".
- Typcially use
interface(or abstract base class in C++) as wrapper around a service(dependency), so the service could easily interact with the rest of the program through the client. - The client is implemented based on the contract defined in the
interface/abstract base class. - Adaptors implement the client and wraps around the service.
- https://platform.openai.com/docs/api-reference/authentication?utm_source=chatgpt.com
- https://platform.openai.com/docs/guides/streaming-responses
- https://github.com/openai/openai-dotnet/tree/main
- https://platform.openai.com/docs/guides/text
context, the user-assistant chat history list, is passed into the LLM as a serialized JSON list.

