45b7e7e54d
[ Add ] added more tests
2023-11-08 20:12:10 +01:00
d098002274
[ Add ] release 4.1.0
2023-11-08 19:37:53 +01:00
6b875880c9
[ Edit ] returned back the web interface of the http client for js (web)
2023-11-08 19:34:58 +01:00
c9d85349fe
[ Edit ] returned back the unused field in model model
2023-11-08 19:31:57 +01:00
a2d1d3f2c6
[ Edit ] minor edits
2023-11-08 19:25:49 +01:00
6bf62e1f66
[ Edit ] minor docs edits, quick fix for models methods
2023-11-08 19:20:11 +01:00
7ea3bb86bf
Added parameter to the create method to support the dall-e-3 model.
2023-11-08 10:31:35 +09:00
0dd1792cf9
[ Edit ] forced embeddings to always be double when they are not (int)
2023-11-07 19:14:52 +01:00
3e1eb58215
[ Edit ] edited the string casting from number in the n parameter of image variations method
2023-11-07 19:04:23 +01:00
99fe130622
[ Edit ] renaled additional tests files because they interrupt the original testing p=workflow on github ci
2023-11-07 17:02:50 +01:00
a2bd71e448
[ Edit ] resolved the dart analyze status error
2023-11-07 16:58:13 +01:00
127b992db2
[ Edit ] applied dart analyze fixes with dart fix and formatted code
2023-11-07 16:54:58 +01:00
c9454aa685
Merge pull request #114 from anasfik/pr
...
[ Add ] resolved conflicts..
2023-11-07 17:52:07 +01:00
7e26e5aff2
Merge branch 'main' into pr
2023-11-07 17:52:00 +01:00
cf34d3df4f
[ Edit ] required commt
2023-11-07 16:32:40 +01:00
7af89d3550
[ Add, Fix ] added requried imports to model.dart, fixed the status errors
2023-11-07 16:18:01 +01:00
821b9efee5
Merge pull request #107 from wqjuser/main
...
[ Edit, Fix ] exposed permissions field, fixed models get method
2023-11-07 17:13:54 +01:00
8ea57e8d0e
Merge branch 'main' into main
2023-11-07 17:13:06 +01:00
86c7d43b5d
Merge pull request #113 from signmotion/extension_a
...
Fixed the tests & upgraded dependencies
2023-11-07 16:42:30 +01:00
1e84244297
[ Edit ] applied dart format for unformatted code.
2023-11-07 15:41:08 +01:00
fe0a1025f2
Fixed the test errors (see below). All 28 tests passed.
...
# 1
test\openai_test.dart: models list models [E]
type 'Null' is not a subtype of type 'List<dynamic>' in type cast
package:dart_openai/src/core/models/model/model.dart 33:39 new OpenAIModelModel.fromMap
package:dart_openai/src/instance/model/model.dart 44:53 OpenAIModel.list.<fn>.<fn>
dart:_internal ListIterable.toList
package:dart_openai/src/instance/model/model.dart 44:69 OpenAIModel.list.<fn>
package:dart_openai/src/core/networking/client.dart 130:24 OpenAINetworkingClient.get
===== asynchronous gap ===========================
package:dart_openai/src/instance/model/model.dart 37:12 OpenAIModel.list
===== asynchronous gap ===========================
test\openai_test.dart 57:13 main.<fn>.<fn>
# 2
00:01 +3 -2: test\openai_test.dart: models retrieve a model [E]
'file:///C:/projects/openai/test/openai_test.dart': Failed assertion: line 74 pos 9: 'modelExampleId != null': please set a model id that is not null, or let the previous test run first to get a model id example
dart:core _AssertionError._throwNew
test\openai_test.dart 74:9 main.<fn>.<fn>
2023-11-07 16:07:08 +01:00
5ab525bd61
Upgraded dependencies.
2023-11-07 15:50:16 +01:00
173e11661b
Removed dart.sdkPath from VSCode settings.
2023-11-07 15:29:57 +01:00
af9614bd1e
注释改为英文
2023-11-06 20:30:56 +08:00
2203054104
官方更新了模型列表返回值,修改代码兼容
2023-11-06 20:24:25 +08:00
1a7edded5b
官方更新了模型列表返回值,修改代码兼容
2023-11-06 20:07:28 +08:00
7c4f31ee3c
4.0.0
2023-07-29 19:48:35 +08:00
677cd761d6
Merge branch 'anasfik:main' into main
2023-07-29 19:27:38 +08:00
ce3cbcb61e
Create FUNDING.yml
2023-07-25 03:21:47 +01:00
96d477e4f5
[ Add ] release 4.0.0
2023-07-24 16:32:26 +01:00
604a1bd265
[ Add ] release 4.0.0
2023-07-24 16:30:44 +01:00
09dacd52cb
Merge branch 'main' into main
2023-07-11 11:17:39 +08:00
7f6cae6a2a
[ Edit ] updated http package tp version 1.1.0
2023-07-10 22:37:14 +01:00
22175a944b
Merge branch 'main' of https://github.com/anasfik/openai
2023-07-10 22:31:23 +01:00
5ad922b3d1
[ Edit ] exposed the baseUrl getter to be used externally.
2023-07-10 22:31:16 +01:00
9a9d37f7e0
Merge pull request #79 from yczabcxyz/patch-1
...
[ Edit ] changed the name to the correct spelling for the chat completion stream example file.
2023-07-10 22:10:38 +01:00
a5abe50a8b
Merge pull request #80 from yczabcxyz/patch-2
...
[ Edit ] updated/corrected the code typo in the stream chat completion API documentation
2023-07-10 22:09:09 +01:00
e0d179012f
Merge pull request #84 from lker-dev/main
...
fix OpenAiImageEditModel error in README
2023-07-10 22:05:59 +01:00
c41ab4f2cc
Merge pull request #86 from bravekingzhang/main
...
[ Fix ], fixed RangeError when use set inValid api key.
2023-07-10 22:04:31 +01:00
2bd441cc07
fix: fix RangeError when use set inValid api key
2023-07-09 10:37:35 +08:00
44e2b70763
fix OpenAiImageEditModel error in README
2023-07-08 12:51:44 +10:00
fc863ffeb2
Update StreamChat completion doc in README.md
...
- Fix return type error: missing Stream<>
- Improve the consume stream example
2023-07-01 15:00:20 -07:00
e57aef9069
Fix a typo in the example file name.
...
Rename chat_campletion_stream_example.dart to chat_completion_stream_example.dart
2023-07-01 14:48:46 -07:00
196fee0956
supported to stream function
2023-06-29 17:25:43 +08:00
125bbcf3a3
[ Add ] release 3.0.0
2023-06-20 14:16:31 +01:00
ec600020a5
[ Fix ] fixed the client null isse on the getStream issue
2023-06-20 14:08:34 +01:00
b837068f8a
[ Fix ] fixed the analyzed import issue
2023-06-20 14:01:02 +01:00
ee29b3dca2
Merge branch 'main' of https://github.com/anasfik/openai
2023-06-20 13:47:55 +01:00
d81ef8f0bb
[ Edit ] edited the fileUpload() member of client.dart to get the responseHandler for non json formatted responses
2023-06-20 13:47:44 +01:00
e3183542bf
Merge pull request #74 from alpha-se/main
...
[ Edit ] udpdated documetation of functions section to the new package APis. specified the type of envied package api key variable.
2023-06-19 15:38:00 +01:00