From 4ff1bb7ce86b380c394e3b96ccbc7039d375c583 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov <62517920+FuzzyReason@users.noreply.github.com> Date: Mon, 6 May 2024 18:13:59 +0200 Subject: [PATCH] fix context length (#40) --- src/content/docs/features/code-completion.md | 4 ++-- src/content/docs/features/context.md | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/content/docs/features/code-completion.md b/src/content/docs/features/code-completion.md index 9d7f388..55cd403 100644 --- a/src/content/docs/features/code-completion.md +++ b/src/content/docs/features/code-completion.md @@ -20,8 +20,8 @@ Refact utilizes a technique called **Fill-in-the-middle** (FIM), where the conte ### **Context Length** Refact analyzes the code up to a certain length to provide suggestions. Context length depends on the plan you have chosen for your account: -- **Free**: 2048 characters -- **Pro**: 4096 characters +- **Free**: 4096 characters +- **Pro**: 16384 characters ### **Cache Mechanism** To enhance performance, Refact caches previous computations and suggestions. diff --git a/src/content/docs/features/context.md b/src/content/docs/features/context.md index bca8515..e6923e8 100644 --- a/src/content/docs/features/context.md +++ b/src/content/docs/features/context.md @@ -26,8 +26,6 @@ In order to enable RAG, you need to follow the instructions depending on the ver ![RAG Settings](../../../assets/ast_vecdb.png) :::note -RAG is more useful for the context size **more than 2048 tokens**, which is available for **Pro users**. - Be aware that RAG indexing is a **high resource-consuming process**, so you will experience increased memory consumption of your **GPU, RAM, and CPU**. ::: ### Refact Enterprise