@lobehub/lobehub 2.0.0-next.75 → 2.0.0-next.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/changelog/v1.json +9 -0
- package/package.json +1 -1
- package/packages/model-runtime/src/core/contextBuilders/openai.ts +2 -0
- package/packages/model-runtime/src/core/streams/openai/__snapshots__/responsesStream.test.ts.snap +1007 -0
- package/packages/model-runtime/src/core/streams/openai/openai.test.ts +310 -0
- package/packages/model-runtime/src/core/streams/openai/openai.ts +67 -0
- package/packages/model-runtime/src/providers/minimax/index.ts +36 -6
- package/packages/model-runtime/src/providers/novita/__snapshots__/index.test.ts.snap +584 -0
- package/packages/model-runtime/src/providers/openai/__snapshots__/index.test.ts.snap +517 -0
- package/packages/model-runtime/src/providers/ppio/__snapshots__/index.test.ts.snap +27 -0
- package/packages/utils/src/colorUtils.test.ts +167 -0
- package/src/locales/default/error.ts +2 -2
|
@@ -516,3 +516,520 @@ exports[`LobeOpenAI > models > should get models 1`] = `
|
|
|
516
516
|
},
|
|
517
517
|
]
|
|
518
518
|
`;
|
|
519
|
+
|
|
520
|
+
exports[`LobeOpenAI models should get models 1`] = `
|
|
521
|
+
[
|
|
522
|
+
{
|
|
523
|
+
"contextWindowTokens": undefined,
|
|
524
|
+
"description": "通用语音识别模型,支持多语言语音识别、语音翻译和语言识别。",
|
|
525
|
+
"displayName": "Whisper",
|
|
526
|
+
"enabled": false,
|
|
527
|
+
"functionCall": false,
|
|
528
|
+
"id": "whisper-1",
|
|
529
|
+
"imageOutput": false,
|
|
530
|
+
"maxOutput": undefined,
|
|
531
|
+
"pricing": undefined,
|
|
532
|
+
"reasoning": false,
|
|
533
|
+
"releasedAt": "2023-02-27",
|
|
534
|
+
"search": false,
|
|
535
|
+
"type": "stt",
|
|
536
|
+
"video": false,
|
|
537
|
+
"vision": false,
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"contextWindowTokens": undefined,
|
|
541
|
+
"description": "",
|
|
542
|
+
"displayName": "davinci-002",
|
|
543
|
+
"enabled": false,
|
|
544
|
+
"functionCall": false,
|
|
545
|
+
"id": "davinci-002",
|
|
546
|
+
"imageOutput": false,
|
|
547
|
+
"maxOutput": undefined,
|
|
548
|
+
"pricing": undefined,
|
|
549
|
+
"reasoning": false,
|
|
550
|
+
"releasedAt": "2023-08-21",
|
|
551
|
+
"search": false,
|
|
552
|
+
"type": "chat",
|
|
553
|
+
"video": false,
|
|
554
|
+
"vision": false,
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"contextWindowTokens": 16384,
|
|
558
|
+
"description": "GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125",
|
|
559
|
+
"displayName": "GPT-3.5 Turbo",
|
|
560
|
+
"enabled": false,
|
|
561
|
+
"functionCall": true,
|
|
562
|
+
"id": "gpt-3.5-turbo",
|
|
563
|
+
"imageOutput": false,
|
|
564
|
+
"maxOutput": undefined,
|
|
565
|
+
"pricing": undefined,
|
|
566
|
+
"reasoning": false,
|
|
567
|
+
"releasedAt": "2023-02-28",
|
|
568
|
+
"search": false,
|
|
569
|
+
"type": "chat",
|
|
570
|
+
"video": false,
|
|
571
|
+
"vision": false,
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"contextWindowTokens": undefined,
|
|
575
|
+
"description": "第二代 DALL·E 模型,支持更真实、准确的图像生成,分辨率是第一代的4倍",
|
|
576
|
+
"displayName": "DALL·E 2",
|
|
577
|
+
"enabled": false,
|
|
578
|
+
"functionCall": false,
|
|
579
|
+
"id": "dall-e-2",
|
|
580
|
+
"imageOutput": false,
|
|
581
|
+
"maxOutput": undefined,
|
|
582
|
+
"parameters": {
|
|
583
|
+
"imageUrl": {
|
|
584
|
+
"default": null,
|
|
585
|
+
},
|
|
586
|
+
"prompt": {
|
|
587
|
+
"default": "",
|
|
588
|
+
},
|
|
589
|
+
"size": {
|
|
590
|
+
"default": "1024x1024",
|
|
591
|
+
"enum": [
|
|
592
|
+
"256x256",
|
|
593
|
+
"512x512",
|
|
594
|
+
"1024x1024",
|
|
595
|
+
],
|
|
596
|
+
},
|
|
597
|
+
},
|
|
598
|
+
"pricing": undefined,
|
|
599
|
+
"reasoning": false,
|
|
600
|
+
"releasedAt": "2023-11-01",
|
|
601
|
+
"search": false,
|
|
602
|
+
"type": "image",
|
|
603
|
+
"video": false,
|
|
604
|
+
"vision": false,
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"contextWindowTokens": undefined,
|
|
608
|
+
"description": "",
|
|
609
|
+
"displayName": "gpt-3.5-turbo-16k",
|
|
610
|
+
"enabled": false,
|
|
611
|
+
"functionCall": false,
|
|
612
|
+
"id": "gpt-3.5-turbo-16k",
|
|
613
|
+
"imageOutput": false,
|
|
614
|
+
"maxOutput": undefined,
|
|
615
|
+
"pricing": undefined,
|
|
616
|
+
"reasoning": false,
|
|
617
|
+
"releasedAt": "2023-05-10",
|
|
618
|
+
"search": false,
|
|
619
|
+
"type": "chat",
|
|
620
|
+
"video": false,
|
|
621
|
+
"vision": false,
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"contextWindowTokens": undefined,
|
|
625
|
+
"description": "",
|
|
626
|
+
"displayName": "tts-1-hd-1106",
|
|
627
|
+
"enabled": false,
|
|
628
|
+
"functionCall": false,
|
|
629
|
+
"id": "tts-1-hd-1106",
|
|
630
|
+
"imageOutput": false,
|
|
631
|
+
"maxOutput": undefined,
|
|
632
|
+
"pricing": undefined,
|
|
633
|
+
"reasoning": false,
|
|
634
|
+
"releasedAt": "2023-11-03",
|
|
635
|
+
"search": false,
|
|
636
|
+
"type": "chat",
|
|
637
|
+
"video": false,
|
|
638
|
+
"vision": false,
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"contextWindowTokens": undefined,
|
|
642
|
+
"description": "最新的文本转语音模型,针对质量进行优化",
|
|
643
|
+
"displayName": "TTS-1 HD",
|
|
644
|
+
"enabled": false,
|
|
645
|
+
"functionCall": false,
|
|
646
|
+
"id": "tts-1-hd",
|
|
647
|
+
"imageOutput": false,
|
|
648
|
+
"maxOutput": undefined,
|
|
649
|
+
"pricing": undefined,
|
|
650
|
+
"reasoning": false,
|
|
651
|
+
"releasedAt": "2023-11-03",
|
|
652
|
+
"search": false,
|
|
653
|
+
"type": "tts",
|
|
654
|
+
"video": false,
|
|
655
|
+
"vision": false,
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"contextWindowTokens": undefined,
|
|
659
|
+
"description": "",
|
|
660
|
+
"displayName": "gpt-3.5-turbo-16k-0613",
|
|
661
|
+
"enabled": false,
|
|
662
|
+
"functionCall": false,
|
|
663
|
+
"id": "gpt-3.5-turbo-16k-0613",
|
|
664
|
+
"imageOutput": false,
|
|
665
|
+
"maxOutput": undefined,
|
|
666
|
+
"pricing": undefined,
|
|
667
|
+
"reasoning": false,
|
|
668
|
+
"releasedAt": "2023-05-30",
|
|
669
|
+
"search": false,
|
|
670
|
+
"type": "chat",
|
|
671
|
+
"video": false,
|
|
672
|
+
"vision": false,
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"contextWindowTokens": 8192,
|
|
676
|
+
"description": "最强大的向量化模型,适用于英文和非英文任务",
|
|
677
|
+
"displayName": "Text Embedding 3 Large",
|
|
678
|
+
"enabled": false,
|
|
679
|
+
"functionCall": false,
|
|
680
|
+
"id": "text-embedding-3-large",
|
|
681
|
+
"imageOutput": false,
|
|
682
|
+
"maxOutput": undefined,
|
|
683
|
+
"pricing": undefined,
|
|
684
|
+
"reasoning": false,
|
|
685
|
+
"releasedAt": "2024-01-22",
|
|
686
|
+
"search": false,
|
|
687
|
+
"type": "embedding",
|
|
688
|
+
"video": false,
|
|
689
|
+
"vision": false,
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"contextWindowTokens": undefined,
|
|
693
|
+
"description": "",
|
|
694
|
+
"displayName": "gpt-4-1106-vision-preview",
|
|
695
|
+
"enabled": false,
|
|
696
|
+
"functionCall": false,
|
|
697
|
+
"id": "gpt-4-1106-vision-preview",
|
|
698
|
+
"imageOutput": false,
|
|
699
|
+
"maxOutput": undefined,
|
|
700
|
+
"pricing": undefined,
|
|
701
|
+
"reasoning": false,
|
|
702
|
+
"releasedAt": "2024-03-26",
|
|
703
|
+
"search": false,
|
|
704
|
+
"type": "chat",
|
|
705
|
+
"video": false,
|
|
706
|
+
"vision": false,
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"contextWindowTokens": undefined,
|
|
710
|
+
"description": "",
|
|
711
|
+
"displayName": "gpt-3.5-turbo-instruct-0914",
|
|
712
|
+
"enabled": false,
|
|
713
|
+
"functionCall": false,
|
|
714
|
+
"id": "gpt-3.5-turbo-instruct-0914",
|
|
715
|
+
"imageOutput": false,
|
|
716
|
+
"maxOutput": undefined,
|
|
717
|
+
"pricing": undefined,
|
|
718
|
+
"reasoning": false,
|
|
719
|
+
"releasedAt": "2023-09-07",
|
|
720
|
+
"search": false,
|
|
721
|
+
"type": "chat",
|
|
722
|
+
"video": false,
|
|
723
|
+
"vision": false,
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"contextWindowTokens": 128000,
|
|
727
|
+
"description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",
|
|
728
|
+
"displayName": "GPT-4 Turbo Preview 0125",
|
|
729
|
+
"enabled": false,
|
|
730
|
+
"functionCall": true,
|
|
731
|
+
"id": "gpt-4-0125-preview",
|
|
732
|
+
"imageOutput": false,
|
|
733
|
+
"maxOutput": undefined,
|
|
734
|
+
"pricing": undefined,
|
|
735
|
+
"reasoning": false,
|
|
736
|
+
"releasedAt": "2024-01-23",
|
|
737
|
+
"search": false,
|
|
738
|
+
"type": "chat",
|
|
739
|
+
"video": false,
|
|
740
|
+
"vision": false,
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"contextWindowTokens": 128000,
|
|
744
|
+
"description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",
|
|
745
|
+
"displayName": "GPT-4 Turbo Preview",
|
|
746
|
+
"enabled": false,
|
|
747
|
+
"functionCall": true,
|
|
748
|
+
"id": "gpt-4-turbo-preview",
|
|
749
|
+
"imageOutput": false,
|
|
750
|
+
"maxOutput": undefined,
|
|
751
|
+
"pricing": undefined,
|
|
752
|
+
"reasoning": false,
|
|
753
|
+
"releasedAt": "2024-01-23",
|
|
754
|
+
"search": false,
|
|
755
|
+
"type": "chat",
|
|
756
|
+
"video": false,
|
|
757
|
+
"vision": false,
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"contextWindowTokens": 4096,
|
|
761
|
+
"description": "GPT 3.5 Turbo,适用于各种文本生成和理解任务,对指令遵循的优化",
|
|
762
|
+
"displayName": "GPT-3.5 Turbo Instruct",
|
|
763
|
+
"enabled": false,
|
|
764
|
+
"functionCall": false,
|
|
765
|
+
"id": "gpt-3.5-turbo-instruct",
|
|
766
|
+
"imageOutput": false,
|
|
767
|
+
"maxOutput": undefined,
|
|
768
|
+
"pricing": undefined,
|
|
769
|
+
"reasoning": false,
|
|
770
|
+
"releasedAt": "2023-08-24",
|
|
771
|
+
"search": false,
|
|
772
|
+
"type": "chat",
|
|
773
|
+
"video": false,
|
|
774
|
+
"vision": false,
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"contextWindowTokens": undefined,
|
|
778
|
+
"description": "",
|
|
779
|
+
"displayName": "gpt-3.5-turbo-0301",
|
|
780
|
+
"enabled": false,
|
|
781
|
+
"functionCall": false,
|
|
782
|
+
"id": "gpt-3.5-turbo-0301",
|
|
783
|
+
"imageOutput": false,
|
|
784
|
+
"maxOutput": undefined,
|
|
785
|
+
"pricing": undefined,
|
|
786
|
+
"reasoning": false,
|
|
787
|
+
"releasedAt": "2023-03-01",
|
|
788
|
+
"search": false,
|
|
789
|
+
"type": "chat",
|
|
790
|
+
"video": false,
|
|
791
|
+
"vision": false,
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"contextWindowTokens": undefined,
|
|
795
|
+
"description": "",
|
|
796
|
+
"displayName": "gpt-3.5-turbo-0613",
|
|
797
|
+
"enabled": false,
|
|
798
|
+
"functionCall": false,
|
|
799
|
+
"id": "gpt-3.5-turbo-0613",
|
|
800
|
+
"imageOutput": false,
|
|
801
|
+
"maxOutput": undefined,
|
|
802
|
+
"pricing": undefined,
|
|
803
|
+
"reasoning": false,
|
|
804
|
+
"releasedAt": "2023-06-12",
|
|
805
|
+
"search": false,
|
|
806
|
+
"type": "chat",
|
|
807
|
+
"video": false,
|
|
808
|
+
"vision": false,
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"contextWindowTokens": undefined,
|
|
812
|
+
"description": "最新的文本转语音模型,针对实时场景优化速度",
|
|
813
|
+
"displayName": "TTS-1",
|
|
814
|
+
"enabled": false,
|
|
815
|
+
"functionCall": false,
|
|
816
|
+
"id": "tts-1",
|
|
817
|
+
"imageOutput": false,
|
|
818
|
+
"maxOutput": undefined,
|
|
819
|
+
"pricing": undefined,
|
|
820
|
+
"reasoning": false,
|
|
821
|
+
"releasedAt": "2023-04-19",
|
|
822
|
+
"search": false,
|
|
823
|
+
"type": "tts",
|
|
824
|
+
"video": false,
|
|
825
|
+
"vision": false,
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"contextWindowTokens": undefined,
|
|
829
|
+
"description": "最新的 DALL·E 模型,于2023年11月发布。支持更真实、准确的图像生成,具有更强的细节表现力",
|
|
830
|
+
"displayName": "DALL·E 3",
|
|
831
|
+
"enabled": false,
|
|
832
|
+
"functionCall": false,
|
|
833
|
+
"id": "dall-e-3",
|
|
834
|
+
"imageOutput": false,
|
|
835
|
+
"maxOutput": undefined,
|
|
836
|
+
"parameters": {
|
|
837
|
+
"prompt": {
|
|
838
|
+
"default": "",
|
|
839
|
+
},
|
|
840
|
+
"quality": {
|
|
841
|
+
"default": "standard",
|
|
842
|
+
"enum": [
|
|
843
|
+
"standard",
|
|
844
|
+
"hd",
|
|
845
|
+
],
|
|
846
|
+
},
|
|
847
|
+
"size": {
|
|
848
|
+
"default": "1024x1024",
|
|
849
|
+
"enum": [
|
|
850
|
+
"1024x1024",
|
|
851
|
+
"1792x1024",
|
|
852
|
+
"1024x1792",
|
|
853
|
+
],
|
|
854
|
+
},
|
|
855
|
+
},
|
|
856
|
+
"pricing": undefined,
|
|
857
|
+
"reasoning": false,
|
|
858
|
+
"releasedAt": "2023-10-31",
|
|
859
|
+
"search": false,
|
|
860
|
+
"type": "image",
|
|
861
|
+
"video": false,
|
|
862
|
+
"vision": false,
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"contextWindowTokens": 16384,
|
|
866
|
+
"description": "GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125",
|
|
867
|
+
"displayName": "GPT-3.5 Turbo 1106",
|
|
868
|
+
"enabled": false,
|
|
869
|
+
"functionCall": true,
|
|
870
|
+
"id": "gpt-3.5-turbo-1106",
|
|
871
|
+
"imageOutput": false,
|
|
872
|
+
"maxOutput": undefined,
|
|
873
|
+
"pricing": undefined,
|
|
874
|
+
"reasoning": false,
|
|
875
|
+
"releasedAt": "2023-11-02",
|
|
876
|
+
"search": false,
|
|
877
|
+
"type": "chat",
|
|
878
|
+
"video": false,
|
|
879
|
+
"vision": false,
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"contextWindowTokens": 128000,
|
|
883
|
+
"description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",
|
|
884
|
+
"displayName": "GPT-4 Turbo Preview 1106",
|
|
885
|
+
"enabled": false,
|
|
886
|
+
"functionCall": true,
|
|
887
|
+
"id": "gpt-4-1106-preview",
|
|
888
|
+
"imageOutput": false,
|
|
889
|
+
"maxOutput": undefined,
|
|
890
|
+
"pricing": undefined,
|
|
891
|
+
"reasoning": false,
|
|
892
|
+
"releasedAt": "2023-11-02",
|
|
893
|
+
"search": false,
|
|
894
|
+
"type": "chat",
|
|
895
|
+
"video": false,
|
|
896
|
+
"vision": false,
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"contextWindowTokens": undefined,
|
|
900
|
+
"description": "",
|
|
901
|
+
"displayName": "babbage-002",
|
|
902
|
+
"enabled": false,
|
|
903
|
+
"functionCall": false,
|
|
904
|
+
"id": "babbage-002",
|
|
905
|
+
"imageOutput": false,
|
|
906
|
+
"maxOutput": undefined,
|
|
907
|
+
"pricing": undefined,
|
|
908
|
+
"reasoning": false,
|
|
909
|
+
"releasedAt": "2023-08-21",
|
|
910
|
+
"search": false,
|
|
911
|
+
"type": "chat",
|
|
912
|
+
"video": false,
|
|
913
|
+
"vision": false,
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"contextWindowTokens": undefined,
|
|
917
|
+
"description": "",
|
|
918
|
+
"displayName": "tts-1-1106",
|
|
919
|
+
"enabled": false,
|
|
920
|
+
"functionCall": false,
|
|
921
|
+
"id": "tts-1-1106",
|
|
922
|
+
"imageOutput": false,
|
|
923
|
+
"maxOutput": undefined,
|
|
924
|
+
"pricing": undefined,
|
|
925
|
+
"reasoning": false,
|
|
926
|
+
"releasedAt": "2023-11-03",
|
|
927
|
+
"search": false,
|
|
928
|
+
"type": "chat",
|
|
929
|
+
"video": false,
|
|
930
|
+
"vision": false,
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"contextWindowTokens": 128000,
|
|
934
|
+
"description": "GPT-4 视觉预览版,专为图像分析和处理任务设计。",
|
|
935
|
+
"displayName": "GPT 4 Turbo with Vision Preview",
|
|
936
|
+
"enabled": false,
|
|
937
|
+
"functionCall": false,
|
|
938
|
+
"id": "gpt-4-vision-preview",
|
|
939
|
+
"imageOutput": false,
|
|
940
|
+
"maxOutput": undefined,
|
|
941
|
+
"pricing": undefined,
|
|
942
|
+
"reasoning": false,
|
|
943
|
+
"releasedAt": "2023-11-02",
|
|
944
|
+
"search": false,
|
|
945
|
+
"type": "chat",
|
|
946
|
+
"video": false,
|
|
947
|
+
"vision": true,
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"contextWindowTokens": 8192,
|
|
951
|
+
"description": "高效且经济的新一代 Embedding 模型,适用于知识检索、RAG 应用等场景",
|
|
952
|
+
"displayName": "Text Embedding 3 Small",
|
|
953
|
+
"enabled": false,
|
|
954
|
+
"functionCall": false,
|
|
955
|
+
"id": "text-embedding-3-small",
|
|
956
|
+
"imageOutput": false,
|
|
957
|
+
"maxOutput": undefined,
|
|
958
|
+
"pricing": undefined,
|
|
959
|
+
"reasoning": false,
|
|
960
|
+
"releasedAt": "2024-01-22",
|
|
961
|
+
"search": false,
|
|
962
|
+
"type": "embedding",
|
|
963
|
+
"video": false,
|
|
964
|
+
"vision": false,
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"contextWindowTokens": 8192,
|
|
968
|
+
"description": "GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。",
|
|
969
|
+
"displayName": "GPT-4",
|
|
970
|
+
"enabled": false,
|
|
971
|
+
"functionCall": true,
|
|
972
|
+
"id": "gpt-4",
|
|
973
|
+
"imageOutput": false,
|
|
974
|
+
"maxOutput": undefined,
|
|
975
|
+
"pricing": undefined,
|
|
976
|
+
"reasoning": false,
|
|
977
|
+
"releasedAt": "2023-06-27",
|
|
978
|
+
"search": false,
|
|
979
|
+
"type": "chat",
|
|
980
|
+
"video": false,
|
|
981
|
+
"vision": false,
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"contextWindowTokens": undefined,
|
|
985
|
+
"description": "",
|
|
986
|
+
"displayName": "text-embedding-ada-002",
|
|
987
|
+
"enabled": false,
|
|
988
|
+
"functionCall": false,
|
|
989
|
+
"id": "text-embedding-ada-002",
|
|
990
|
+
"imageOutput": false,
|
|
991
|
+
"maxOutput": undefined,
|
|
992
|
+
"pricing": undefined,
|
|
993
|
+
"reasoning": false,
|
|
994
|
+
"releasedAt": "2022-12-16",
|
|
995
|
+
"search": false,
|
|
996
|
+
"type": "embedding",
|
|
997
|
+
"video": false,
|
|
998
|
+
"vision": false,
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"contextWindowTokens": 16384,
|
|
1002
|
+
"description": "GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125",
|
|
1003
|
+
"displayName": "GPT-3.5 Turbo 0125",
|
|
1004
|
+
"enabled": false,
|
|
1005
|
+
"functionCall": true,
|
|
1006
|
+
"id": "gpt-3.5-turbo-0125",
|
|
1007
|
+
"imageOutput": false,
|
|
1008
|
+
"maxOutput": undefined,
|
|
1009
|
+
"pricing": undefined,
|
|
1010
|
+
"reasoning": false,
|
|
1011
|
+
"releasedAt": "2024-01-23",
|
|
1012
|
+
"search": false,
|
|
1013
|
+
"type": "chat",
|
|
1014
|
+
"video": false,
|
|
1015
|
+
"vision": false,
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"contextWindowTokens": 8192,
|
|
1019
|
+
"description": "GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。",
|
|
1020
|
+
"displayName": "GPT-4 0613",
|
|
1021
|
+
"enabled": false,
|
|
1022
|
+
"functionCall": true,
|
|
1023
|
+
"id": "gpt-4-0613",
|
|
1024
|
+
"imageOutput": false,
|
|
1025
|
+
"maxOutput": undefined,
|
|
1026
|
+
"pricing": undefined,
|
|
1027
|
+
"reasoning": false,
|
|
1028
|
+
"releasedAt": "2023-06-12",
|
|
1029
|
+
"search": false,
|
|
1030
|
+
"type": "chat",
|
|
1031
|
+
"video": false,
|
|
1032
|
+
"vision": false,
|
|
1033
|
+
},
|
|
1034
|
+
]
|
|
1035
|
+
`;
|
|
@@ -26,3 +26,30 @@ exports[`PPIO > models > should get models 1`] = `
|
|
|
26
26
|
},
|
|
27
27
|
]
|
|
28
28
|
`;
|
|
29
|
+
|
|
30
|
+
exports[`PPIO models should get models 1`] = `
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
"contextWindowTokens": 64000,
|
|
34
|
+
"description": "DeepSeek R1是DeepSeek团队发布的最新开源模型,具备非常强悍的推理性能,尤其在数学、编程和推理任务上达到了与OpenAI的o1模型相当的水平。",
|
|
35
|
+
"displayName": "DeepSeek: DeepSeek R1 (community)",
|
|
36
|
+
"enabled": true,
|
|
37
|
+
"functionCall": false,
|
|
38
|
+
"id": "deepseek/deepseek-r1/community",
|
|
39
|
+
"reasoning": true,
|
|
40
|
+
"type": "chat",
|
|
41
|
+
"vision": false,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"contextWindowTokens": 64000,
|
|
45
|
+
"description": "DeepSeek-V3在推理速度方面实现了比之前模型的重大突破。在开源模型中排名第一,并可与全球最先进的闭源模型相媲美。DeepSeek-V3 采用了多头潜在注意力 (MLA) 和 DeepSeekMoE 架构,这些架构在 DeepSeek-V2 中得到了全面验证。此外,DeepSeek-V3 开创了一种用于负载均衡的辅助无损策略,并设定了多标记预测训练目标以获得更强的性能。",
|
|
46
|
+
"displayName": "DeepSeek: DeepSeek V3 (community)",
|
|
47
|
+
"enabled": true,
|
|
48
|
+
"functionCall": false,
|
|
49
|
+
"id": "deepseek/deepseek-v3/community",
|
|
50
|
+
"reasoning": false,
|
|
51
|
+
"type": "chat",
|
|
52
|
+
"vision": false,
|
|
53
|
+
},
|
|
54
|
+
]
|
|
55
|
+
`;
|