issues
search
CheriseCodes
/
ai-flash-cards
Generate Anki flashcards for language learning using OpenAI tools (ChatGPT and DALLE)
1
stars
0
forks
source link
Use Interfaces/Classes to abstract dependencies and improve testability
#115
Open
CheriseCodes
opened
2 months ago
CheriseCodes
commented
2 months ago
Possible interfaces:
[x] GenAITextClient
generateText => (text, metadata)
[x] GenAIImageClient
generateImage => (img, metadata)
[ ] MetricsClient
putMetric => (success/fail)
getMetric => (metric, metadata)
[x] DBClient
[x] ObjectStoreClient
Other notes:
Abstract classes
CheriseCodes
commented
1 month ago
119
Possible interfaces:
Other notes: