# Character Public Knowledge

**Video Tutorial**: [StoryChain Chat Tutorial #2: Character Public Knowledge (Consistent AI Memory & History)](https://youtu.be/ogJw5OK-dY8)&#x20;

{% embed url="<https://youtu.be/ogJw5OK-dY8>" %}

## What You'll Learn

Discover how to give your AI characters consistent memory, history, or expertise using StoryChain's Public Knowledge feature. This powerful tool ensures your characters always know specific information across all their chats and scenarios.

### Understanding Public Knowledge

Character public knowledge is perfect for:

* **Fictional or real-world knowledge** that your character should always possess
* **Backstory details** that aren't included in the main description
* **Technical knowledge** about specific projects or domains
* **Secret information** about other characters or plot elements
* **Fixed details** that should remain consistent across all interactions

### Step-by-Step Process Covered:

1. **Identifying Knowledge Gaps**
   * Test your character by asking specific questions
   * Notice when answers are inconsistent or vague
   * Identify details that need to be fixed and consistent
2. **Adding Public Knowledge**
   * Edit your character settings
   * Navigate to the Public Knowledge section
   * Enter specific information (e.g., "Stationed at the Sun–Earth Lagrange Point 2 (L2)")
   * Save the changes
3. **Testing the Implementation**
   * Start a fresh chat session
   * Ask the same questions that previously gave inconsistent answers
   * Verify that your character now provides consistent, accurate responses

## Key Features Covered

* **Public Knowledge Interface**: Navigate and use the knowledge management system
* **Consistency Testing**: Verify that knowledge is properly applied
* **Knowledge Scope**: Understand how public knowledge affects all scenarios
* **Best Practices**: Learn when to use character vs. scenario knowledge

## Important Distinctions

### Character Public Knowledge vs. Scenario Knowledge

* **Character Public Knowledge**: Applies to ALL scenarios that character appears in
* **Scenario Knowledge**: Only applies to specific scenarios

Use character public knowledge for:

* Core character traits and background
* Universal knowledge the character should always have
* Consistent personality elements

Use scenario knowledge for:

* Situation-specific information (like safe codes)
* Temporary plot elements
* Context that only applies to one story

## Best Practices

* Keep character public knowledge focused on essential, universal traits
* Test knowledge implementation with multiple chat sessions
* Use specific, clear language when defining knowledge
* Regularly review and update knowledge as your character evolves
* Consider the scope carefully - character knowledge affects ALL scenarios

***

*Watch the full tutorial above to see how public knowledge transforms character consistency and creates more immersive experiences.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.storychain.ai/storychain/storychain-chat/how-to/character-public-knowledge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
