Skip to content

Commit

Permalink
fix context length (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzzyReason authored May 6, 2024
1 parent 06b0a5e commit 4ff1bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/features/code-completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions src/content/docs/features/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ff1bb7

Please sign in to comment.