Skip to content

Commit

Permalink
#29587: applying feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralfaro-dotcms committed Aug 15, 2024
1 parent c3f04da commit 4c54f36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dotCMS/src/main/resources/apps/dotAI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ params:
hint: "Your ChatGPT API key"
required: true
textModelNames:
value: ""
value: "gpt-4o"
hidden: false
type: "STRING"
label: "Model Names"
Expand Down Expand Up @@ -64,7 +64,7 @@ params:
hint: "Enable completion model used to generate OpenAI API response."
required: false
imageModelNames:
value: ""
value: "dall-e-3"
hidden: false
type: "STRING"
label: "Image Model Names"
Expand Down Expand Up @@ -132,7 +132,7 @@ params:
hint: "Enable completion model used to generate OpenAI API response."
required: false
embeddingsModelNames:
value: ""
value: "text-embedding-ada-002"
hidden: false
type: "STRING"
label: "Embeddings Model Names"
Expand Down
6 changes: 3 additions & 3 deletions dotcms-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,9 @@
<DOT_VELOCITY_ROOT>${test.webapp.root}/WEB-INF/velocity</DOT_VELOCITY_ROOT>
<DOT_GEOIP2_CITY_DATABASE_PATH_OVERRIDE>${test.webapp.root}/WEB-INF/geoip2/GeoLite2-City.mmdb</DOT_GEOIP2_CITY_DATABASE_PATH_OVERRIDE>
<DOT_DARTSASS_COMPILER_LOCATION>${test.webapp.root}/WEB-INF/bin</DOT_DARTSASS_COMPILER_LOCATION>
<DOT_APP_AI_PARAM_API_EMBEDDINGS_URL>http://localhost:50505/e</DOT_APP_AI_PARAM_API_EMBEDDINGS_URL>
<DOT_OPEN_AI_EMBEDDINGS_URL>http://localhost:50505/e</DOT_OPEN_AI_EMBEDDINGS_URL>
<DOT_OPEN_AI_MODELS_URL>http://localhost:50505/m</DOT_OPEN_AI_MODELS_URL>
<DOT_AI_EMBEDDINGS_API_URL>http://localhost:50505/e</DOT_AI_EMBEDDINGS_API_URL>
<DOT_AI_MODELS_API_URL>http://localhost:50505/m</DOT_AI_MODELS_API_URL>
<DOT_AI_DEBUG_LOGGER>true</DOT_AI_DEBUG_LOGGER>
<!--suppress UnresolvedMavenProperty -->
<java.io.tmpdir>${it.test.fork-folder}${surefire.forkNumber}/${test.temp.folder}</java.io.tmpdir>
<!--suppress UnresolvedMavenProperty -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"apiKey\": {\n \"value\": \"some-api-key-1a2bc3\"\n },\n \"textModelNames\": {\n \"value\": \"gpt-3.5-turbo-16k\"\n },\n \"textModelMaxTokens\": {\n \"value\":\"16384\"\n },\n \"imageModelNames\": {\n \"value\": \"dall-e-3\"\n },\n \"imageSize\": {\n \"value\": \"1024x1024\"\n },\n \"imageModelMaxTokens\": {\n \"value\":\"0\"\n },\n \"embeddingsModelNames\": {\n \"value\": \"text-embedding-ada-002\"\n },\n \"embeddingsModelMaxTokens\": {\n \"value\":\"8191\"\n },\n \"listenerIndexer\": {\n \"value\": \"{\\\"default\\\":\\\"blog,dotcmsdocumentation,feature,ProductBriefs,news,report.file,builds,casestudy\\\",\\\"documentation\\\":\\\"dotcmsdocumentation\\\"}\"\n }\n}\n"
"raw": "{\n \"apiKey\": {\n \"value\": \"some-api-key-1a2bc3\"\n },\n \"textModelNames\": {\n \"value\": \"gpt-4o\"\n },\n \"textModelMaxTokens\": {\n \"value\":\"16384\"\n },\n \"imageModelNames\": {\n \"value\": \"dall-e-3\"\n },\n \"imageSize\": {\n \"value\": \"1024x1024\"\n },\n \"imageModelMaxTokens\": {\n \"value\":\"0\"\n },\n \"embeddingsModelNames\": {\n \"value\": \"text-embedding-ada-002\"\n },\n \"embeddingsModelMaxTokens\": {\n \"value\":\"8191\"\n },\n \"listenerIndexer\": {\n \"value\": \"{\\\"default\\\":\\\"blog,dotcmsdocumentation,feature,ProductBriefs,news,report.file,builds,casestudy\\\",\\\"documentation\\\":\\\"dotcmsdocumentation\\\"}\"\n }\n}\n"
},
"url": {
"raw": "{{serverURL}}/api/v1/apps/dotAI/SYSTEM_HOST",
Expand Down Expand Up @@ -3140,7 +3140,7 @@
"listen": "test",
"script": {
"exec": [
"pm.test('Status code should be ok 20', function () {",
"pm.test('Status code should be ok 200', function () {",
" pm.response.to.have.status(200);",
"});",
"",
Expand Down

0 comments on commit 4c54f36

Please sign in to comment.