Skip to content

[Tock Doc] Documentation for the New Structured Response System in the RAG Chain#2017

Merged
assouktim merged 1 commit intotheopenconversationkit:masterfrom
CreditMutuelArkea:Documentation-on-the-prompt-engineering-for-the-new-Rag-chain
Mar 18, 2026
Merged

[Tock Doc] Documentation for the New Structured Response System in the RAG Chain#2017
assouktim merged 1 commit intotheopenconversationkit:masterfrom
CreditMutuelArkea:Documentation-on-the-prompt-engineering-for-the-new-Rag-chain

Conversation

@rkuffer
Copy link
Copy Markdown
Member

@rkuffer rkuffer commented Mar 18, 2026

This documentation explains the principles of the new prompting system, including a guide for configuring a bot. It is accompanied by three prompt examples illustrating different business use cases.

@zigzago @vsct-jburet :

As previously discussed, this modification to the RAG chain constitutes a breaking change for users of Tock’s integrated RAG. Existing prompts must be updated to comply with the structure described in the documentation. A warning should be added to the release notes, for example:

## ⚠️ Breaking Change — RAG Chain: Structured JSON Prompt Required
 
The RAG chain now expects the LLM to return a structured JSON object instead of a plain text string. **All existing Question Answering prompts in Gen AI > RAG Settings must be updated** before deploying this release, or the bot will fail to respond correctly.
 
See the [RAG Chain — Structured Prompt System](https://doc.tock.ai/tock/master/user/studio/gen-ai/rag-chain/rag-prompt-system.html) documentation for migration guidance and ready-to-use prompt templates.

NB: I hope I’ve correctly anticipated the URL for the doc once it’s published....

@rkuffer rkuffer requested review from assouktim and zigzago March 18, 2026 12:45
Copy link
Copy Markdown
Collaborator

@zigzago zigzago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. is the feature already on master @rkuffer ?

@rkuffer
Copy link
Copy Markdown
Member Author

rkuffer commented Mar 18, 2026

LGTM. is the feature already on master @rkuffer ?

Yes, this is the change introduced by this commit: e0dd199

Copy link
Copy Markdown
Contributor

@assouktim assouktim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@assouktim assouktim merged commit e022f9f into theopenconversationkit:master Mar 18, 2026
7 checks passed
@assouktim assouktim deleted the Documentation-on-the-prompt-engineering-for-the-new-Rag-chain branch March 18, 2026 13:48
@zigzago zigzago added this to the 26.3.0 milestone Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants