Skip to content

Commit

Permalink
🌿 docs: update docker_linux.mdx to the librechat.ai's creds generator (…
Browse files Browse the repository at this point in the history
…#222)

* 🌿 docs: update docker_linux.mdx to the librechat.ai's creds generator

* Update fork.mdx
  • Loading branch information
berry-13 authored Feb 7, 2025
1 parent 8d64548 commit d1aba87
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
24 changes: 15 additions & 9 deletions pages/docs/features/fork.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,27 @@ width={1024}
height={512}
/>

The "Fork Messages and Conversations" feature can be incredibly useful for various reasons:
## Why Fork Conversations?

1. **Focused discussions:** Sometimes, during a conversation with an AI, users may want to explore a specific subtopic or idea without losing the context of the main conversation. By forking a conversation from a specific message, users can create a separate discussion thread that focuses solely on that particular aspect while maintaining the original conversation intact.
Think of forking like creating a new path in your chat - it's super handy when you want to:

2. **Branching scenarios:** In some cases, users may want to explore different paths or scenarios based on a specific message. The forking feature allows users to create multiple branches from a single point in the conversation, enabling them to investigate various outcomes or possibilities without affecting the main conversation flow.
### Keep Things On Track
Sometimes you'll hit on an interesting side topic but don't want to derail your main conversation. Forking lets you dive into that rabbit hole while keeping your original chat clean

3. **Preserving context:** When forking a conversation, users can choose to include visible messages, related branches, or all messages up to a specific point. This helps maintain the necessary context for the forked conversation, ensuring that the AI has sufficient information to provide relevant and accurate responses.
### Play "What If"
Want to see how different approaches might play out? Fork the chat and try various angles. It's like having multiple parallel conversations, each exploring a different possibility

4. **Collaboration and sharing:** Users may want to share specific parts of a conversation with others without revealing the entire chat history. By forking a conversation from a specific message, users can create a standalone discussion that can be easily shared with colleagues or friends, allowing for collaboration or seeking input on a particular topic.
### Save Important Context
When you fork, you can bring along as much or as little of the previous chat as you need. This way, you're not starting completely from scratch, and the AI still has the background it needs

5. **Organizing thoughts:** In lengthy conversations with an AI, users may generate multiple ideas or topics that deserve further exploration. The forking feature allows users to organize their thoughts by creating separate conversation threads for each idea, making it easier to revisit and develop them independently.
### Share Specific Parts
Need to show someone just part of your conversation? Instead of copying and pasting or sharing your whole chat history, you can fork just the relevant bit and share that

6. **Experimenting with different approaches:** Users may want to test different approaches or prompts to see how the AI responds. By forking a conversation, users can experiment with various strategies without disrupting the main conversation, comparing the outcomes, and learning from the AI's responses.
### Keep Ideas Organized
Long chats can spawn lots of different ideas. Rather than letting them get tangled together, you can fork each one into its own thread and develop them separately

Overall, that feature in Librechat empowers users to have more control over their conversations, explore ideas in depth, and maintain organized and focused discussions with the AI assistant.
### Try Different Approaches
Sometimes you might wonder if there's a better way to ask something. Forking lets you experiment with different ways of talking to the AI without messing up your main conversation

## Forking Options

Expand Down Expand Up @@ -114,4 +120,4 @@ This option forks all messages leading up to the target message, including its n
<div className="image-dark-theme">
<img src="https://github.com/danny-avila/LibreChat/assets/32828263/2ba9dfc0-8b21-4297-bf67-9bf6b2ff0aa2" alt="6-D" />
</div>
</div>
</div>
6 changes: 3 additions & 3 deletions pages/docs/remote/docker_linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ cp .env.example .env

However, it's **highly recommended** you adjust the "secret" values from their default values for added security. The API startup logs will warn you if you don't.

For conveninence, you can fork & run this replit to generate your own values:
For conveninence, you can run this to generate your own values:

[https://replit.com/@daavila/crypto#index.js](https://replit.com/@daavila/crypto#index.js)
[https://www.librechat.ai/toolkit/creds_generator](https://www.librechat.ai/toolkit/creds_generator)

```bash
nano .env
Expand Down Expand Up @@ -435,4 +435,4 @@ Change `librechat-dev-api` to `librechat-api`:
image: ghcr.io/danny-avila/librechat-api:latest
```

Stage and commit as in Part V, and you're all set!
Stage and commit as in Part V, and you're all set!

0 comments on commit d1aba87

Please sign in to comment.