|
71 | 71 | ], |
72 | 72 | "description": "Dev Proxy mock" |
73 | 73 | }, |
| 74 | + "PricesFile": { |
| 75 | + "prefix": "devproxy-prices-file", |
| 76 | + "body": [ |
| 77 | + "{", |
| 78 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.28.0/openaitelemetryplugin.pricesfile.schema.json\",", |
| 79 | + "\t\"prices\": {", |
| 80 | + "\t\t$1", |
| 81 | + "\t}", |
| 82 | + "}" |
| 83 | + ], |
| 84 | + "description": "Dev Proxy prices file" |
| 85 | + }, |
| 86 | + "Price": { |
| 87 | + "prefix": "devproxy-price", |
| 88 | + "body": [ |
| 89 | + "\"gpt-4\": {", |
| 90 | + "\t\"input\": 0.03,", |
| 91 | + "\t\"output\": 0.06", |
| 92 | + "}" |
| 93 | + ], |
| 94 | + "description": "Dev Proxy price" |
| 95 | + }, |
74 | 96 | "Request": { |
75 | 97 | "prefix": "devproxy-request", |
76 | 98 | "body": [ |
|
855 | 877 | ], |
856 | 878 | "description": "OpenAIMockResponsePlugin instance" |
857 | 879 | }, |
| 880 | + "OpenAITelemetryPlugin": { |
| 881 | + "prefix": "devproxy-plugin-openai-telemetry", |
| 882 | + "body": [ |
| 883 | + "{", |
| 884 | + "\t\"name\": \"OpenAITelemetryPlugin\",", |
| 885 | + "\t\"enabled\": true,", |
| 886 | + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
| 887 | + "\t\"configSection\": \"openAITelemetryPlugin\"", |
| 888 | + "}" |
| 889 | + ], |
| 890 | + "description": "OpenAITelemetryPlugin instance" |
| 891 | + }, |
| 892 | + "OpenAITelemetryPluginConfig": { |
| 893 | + "prefix": "devproxy-plugin-openai-telemetry-config", |
| 894 | + "body": [ |
| 895 | + "\"openAITelemetryPlugin\": {", |
| 896 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.28.0/openaitelemetryplugin.schema.json\",", |
| 897 | + "\t\"application\": \"My app\",", |
| 898 | + "\t\"includeCosts\": true,", |
| 899 | + "\t\"pricesFile\": \"prices.json\"", |
| 900 | + "}" |
| 901 | + ], |
| 902 | + "description": "OpenAITelemetryPlugin config section" |
| 903 | + }, |
858 | 904 | "OpenApiSpecGeneratorPlugin": { |
859 | 905 | "prefix": "devproxy-plugin-open-api-spec-generator", |
860 | 906 | "body": [ |
|
0 commit comments