Logo
Explore Help
Register Sign In
yujunjun/AppFlowy
1
0
Fork 0
You've already forked AppFlowy
mirror of https://github.com/AppFlowy-IO/AppFlowy.git synced 2025-07-25 01:50:56 +00:00
Code Issues Packages Projects Releases Wiki Activity
AppFlowy/frontend/appflowy_flutter/lib/util/either_extension.dart

7 lines
158 B
Dart
Raw Normal View History

feat: add openai service (#1858) * feat: add openai service * feat: add openai auto completion plugin * feat: add visible icon for open ai input field * chore: optimize user experience * feat: add auto completion node plugin * feat: support keep and discard the auto generated text * fix: can't delete the auto completion node * feat: disable ai plugins if open ai key is null * fix: wrong auto completion node card color * fix: make sure the previous text node is pure when using auto generator
2023-02-16 10:17:08 +08:00
import 'package:dartz/dartz.dart';
extension EitherX<L, R> on Either<L, R> {
R asRight() => (this as Right).value;
L asLeft() => (this as Left).value;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 453ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API