Skip to content

Commit 48e014d

Browse files
committed
added FAQ (#6567)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces new details to the `page.mdx` file, providing guidance on how to enhance the performance of the `Nebula` character and improve its responses. ### Detailed summary - Added a section on how to make `Nebula` play a certain character better, including: - Defining the role clearly. - Avoiding personality traits in responses. - Setting output expectations. - Preloading context for specific domains. - Utilizing session handling features. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 826748b commit 48e014d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

apps/portal/src/app/nebula/faqs/page.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,24 @@ Nebula supports reading and writing capabilities on any EVM-compatible chain. [V
2020
Yes, you may ask Nebula questions in any spoken language.
2121
</Details>
2222

23+
<Details summary="How can I make Nebula play a certain character better?">
24+
1. Define the Role Clearly: Specify the character’s role and behavior in your prompt.
25+
26+
Example, “You are an assistant embedded in a blockchain application, designed to provide insights and execute transactions without introducing yourself.”
27+
28+
2. Avoid phrases that suggest personality traits or self-awareness: Use Contextual Instructions and add specific instructions to avoid unnecessary introductions.
29+
30+
Example, “Respond directly to queries without stating your identity or greeting users.”
31+
32+
3. Set Output Expectations: Guide the format of responses.
33+
34+
Example, “Provide concise answers or actions based on the user’s input without additional commentary.”
35+
36+
4. Preload Context: Use Nebula’s context filters to scope responses within a specific domain (e.g., blockchain data or transactions) and avoid generic replies.
37+
38+
5. Session Handling: Utilize Nebula’s session handling feature to maintain relevant context throughout interactions, ensuring responses align with the established character behavior.
39+
</Details>
40+
2341
<Details summary="How can I improve upon Nebula's responses?">
2442
We recommend using [context filters](/nebula/key-concepts/context-filters) to improve relevant responses. You may also modify hyperparameters such as temperature, top-p,
2543
and more using the OpenAI API. Learn more about our [OpenAI API integration](/nebula/plugins/openai).

0 commit comments

Comments
 (0)