Skip to content

Welcome to Tock - open conversational platform, with or without generative AI

Tock (The Open Conversation Kit) is a complete and open platform to build conversational assistants: answer from your documents with the LLM of your choice (RAG), run controlled journeys written by your teams, or combine both.

Tock does not depend on 3rd-party APIs, although it is possible to integrate with them. Users choose which components to embed, including local LLMs, and decide to keep (or share) ownership of conversational data and models.

Tock has been used in production since 2016 by SNCF (OUI.sncf assistant, now SNCF Connect) (Web/mobile, messaging platforms, smart speakers) and more and more organisations (energy, banking, healthcare...).

The platform source code is available on GitHub under the Apache License, version 2.0.

With an LLM, without, or both

With an LLM Without an LLM Mixed
Principle The RAG answers from your documents The NLU model detects the intent, stories and FAQs answer The NLU model routes each sentence to a story or to the RAG
Answers Generated, with their sources Written and validated by your teams Written for the sensitive journeys, generated for the rest
Suited to Large document bases, open questions Transactional journeys, regulated contexts, embedded bots without Internet, no inference cost Most assistants in production
Get started RAG tutorial First bot with Tock Studio How the bot answers

Generative AI is an optional building block: the Gen AI orchestrator is only deployed if you use it, and an existing bot can activate the RAG from Tock Studio.

Overview

Tutorials, presentations and a live demo (20 minutes, in English) are also available:

Open Source Experience 2021 video

Features

RAG answer with its sources, tested in Tock Studio

Technologies

Tock components can run as containers (provided implementation for Docker).

The application runs on JVM platforms. The reference language is Kotlin, but other programming languages can be leveraged through the available APIs.

On the server side, Tock relies on Vert.x and MongoDB (alt. DocumentDB). Various NLU libraries and algorithms can be used, but Tock does not depend on them directly.

Tock Studio graphical user interfaces are built with Angular in Typescript.

The Gen AI orchestrator is a Python service built with FastAPI and LangChain, which calls the LLM, embedding and vector store providers.

React and Vue toolkits are provided for Web integrations.

Getting started...

*[NLU]: Natural Language Understanding

Chat with Tock
×