Skip to content

Conversation

@dsp-ant
Copy link
Member

@dsp-ant dsp-ant commented Nov 12, 2024

image

Copy link
Member

@jspahrsummers jspahrsummers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, it's hard to suggest changes to a preformatted Markdown table 😅

@jspahrsummers
Copy link
Member

jspahrsummers commented Nov 12, 2024

Do we want to include a flowchart similar to the following (with appropriate cleanup/simplification) somewhere too?

flowchart LR
    B{{What should the server do?}}
    
    B -->|Provide context to LLM| C[Define resources in server]
    C --> C1[Static data]
    C --> C2[Dynamic data]
    C --> C3[Real-time updates]
    
    B -->|Enable agentic behavior| D[Define tools in server]
    D --> D1[Actions for LLM to invoke]
    D --> D2[Integrate with external systems]
    
    B -->|Define reusable LLM interactions| E[Define prompts in server]
    E --> E1[Templated prompts]
    E --> E2[Predefined LLM tasks]
    
    B -->|Custom LLM processing| F[Server sampling from client]
    F --> F1[Recursive LLM operations]
    F --> F2[Data preprocessing]
Loading

dsp-ant and others added 2 commits November 12, 2024 15:24
Co-authored-by: Justin Spahr-Summers <justin@anthropic.com>
Co-authored-by: Justin Spahr-Summers <justin@anthropic.com>
@dsp-ant
Copy link
Member Author

dsp-ant commented Nov 12, 2024

Do we want to include a flowchart similar to the following (with appropriate cleanup/simplification) somewhere too?

flowchart LR
    B{{What should the server do?}}
    
    B -->|Provide context to LLM| C[Define resources in server]
    C --> C1[Static data]
    C --> C2[Dynamic data]
    C --> C3[Real-time updates]
    
    B -->|Enable agentic behavior| D[Define tools in server]
    D --> D1[Actions for LLM to invoke]
    D --> D2[Integrate with external systems]
    
    B -->|Define reusable LLM interactions| E[Define prompts in server]
    E --> E1[Templated prompts]
    E --> E2[Predefined LLM tasks]
    
    B -->|Custom LLM processing| F[Server sampling from client]
    F --> F1[Recursive LLM operations]
    F --> F2[Data preprocessing]
Loading

I am a bit worried that unless you are super into the topic, this is more confusing than clarifying. We could add an "in-depth appendix or so", but for now I'd keep it out of the docs unless you think it would be super useful.

@dsp-ant dsp-ant merged commit 3178139 into main Nov 12, 2024
1 check passed
@dsp-ant dsp-ant deleted the davidsp/table branch November 12, 2024 15:26
jspahrsummers pushed a commit that referenced this pull request Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants