Skip to content

Commit

Permalink
minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Jan 10, 2025
1 parent 96dab60 commit 0f44fce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@
{{"CDSCanvas.AdvancedContext" | translate}}
</mat-checkbox>
</section>
<label class="field-description" *ngIf="action?.advancedPrompt" [innerHTML]='"CDSCanvas.AdvancedContextDesctiption" | translate'></label>
<label class="field-description">{{ "CDSCanvas.AdvancedContextDesctiption" | translate }}
<a *ngIf="BRAND_BASE_INFO['DOCS']" href='https://gethelp.tiledesk.com/articles/ask-knowledge-base-and-its-role-in-building-custom-ai-agents/#advanced-context' target='_blank'>{{ 'LearnMore' | translate }}</a>
</label>
</div>

<!-- // citations -->
Expand All @@ -325,7 +327,7 @@
</mat-checkbox>
</section>
<label class="field-description">{{ "CDSCanvas.CitationsDescription" | translate }}
<!-- <a *ngIf="BRAND_BASE_INFO['DOCS']" href='https://platform.openai.com/docs/guides/structured-outputs/json-mode' target='_blank'>{{ 'LearnMore' | translate }}</a> -->
<a *ngIf="BRAND_BASE_INFO['DOCS']" href='https://gethelp.tiledesk.com/articles/ask-knowledge-base-and-its-role-in-building-custom-ai-agents/#get-contents-sources' target='_blank'>{{ 'LearnMore' | translate }}</a>
</label>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"FormatType":"Response as JSON format",
"FormatTypeDescription":"When JSON mode is turned on, the model's output is ensured to be valid JSON, except for in some edge cases that you should detect and handle appropriately.",
"Citations":"Get contents sources",
"CitationsDescription":"Use this option to get accurate sources of documents used to generate the reply. Keep in mind that this consumes more tokens then regular KB retrieving. Max-tokens quota will be automatically adjusted to get the citations if needed.",
"CitationsDescription":"Use this option to get accurate sources of documents used to generate the reply.",
"EnterTheQuestion":"Enter the question",
"SelectNamespace":"Select namespace",
"SelectKnowledgeBase":"Select Knowledge Base",
Expand Down Expand Up @@ -349,7 +349,7 @@
"ChunkLimit":"Chunk limit",
"SystemContext":"System context",
"AdvancedContext":"Advanced context",
"AdvancedContextDesctiption":"Here you have the most control. Be careful, the native prompt is completely overwritten. If you want to use the native 'else' connector you need to make sure to instruct your prompt to respond with <NOANS> when it doesn't find a satisfactory answer and always close with {context}. <br><br> E.g. You are a consultant ... &lt;NOANS&gt; {context}",
"AdvancedContextDesctiption":"Here you have the most control. Be careful, the native prompt is completely overwritten.",
"YouAreAwesomeAssistant":"You are an awesome assistant",
"Preview":"Preview",
"AnswerPreview":"Answer preview",
Expand Down

0 comments on commit 0f44fce

Please sign in to comment.