@daocloud-proto/hydra 0.1.2 → 0.1.3-dev-3

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.
@@ -22,6 +22,11 @@ export enum ModelSupportFeature {
22
22
  AUDIO_TO_TEXT = "AUDIO_TO_TEXT",
23
23
  }
24
24
 
25
+ export type ModelPrice = {
26
+ inputPerKTokens?: string
27
+ outputPerKTokens?: string
28
+ }
29
+
25
30
  export type Model = {
26
31
  modelId?: string
27
32
  modelAvatar?: string
@@ -33,10 +38,15 @@ export type Model = {
33
38
  modelSupportFeature?: ModelSupportFeature[]
34
39
  creationTimestamp?: GoogleProtobufTimestamp.Timestamp
35
40
  updateTimestamp?: GoogleProtobufTimestamp.Timestamp
41
+ publicEndpointEnabled?: boolean
42
+ publicEndpointBaseUrl?: string
43
+ publicAccessModelName?: string
44
+ publicModelPrice?: ModelPrice
36
45
  }
37
46
 
38
47
  export type ListModelRequest = {
39
48
  page?: HydraCommonCommon.Pagination
49
+ showPublicModelPrice?: boolean
40
50
  }
41
51
 
42
52
  export type ListModelResponse = {
@@ -54,6 +54,8 @@ export type ModelServing = {
54
54
  stop?: string[]
55
55
  stopTokenIds?: number[]
56
56
  address?: string
57
+ modelAvatar?: string
58
+ regionName?: HydraCommonCommon.I18nName
57
59
  }
58
60
 
59
61
  export type ListModelServingRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.1.2",
3
+ "version": "v0.1.3-dev-3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"