Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a dialogue diagram #5458

Open
hanchchch opened this issue Apr 12, 2024 · 1 comment
Open

Support a dialogue diagram #5458

hanchchch opened this issue Apr 12, 2024 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request Type: New Diagram

Comments

@hanchchch
Copy link

Proposal

The dialogue diagram would be useful to demonstrate a dialogue, especially for prototyping a chatbot. I mean, to keep up with the LLM trend !

Use Cases

The dialogue diagram could be used for demonstrating a LLM chatbot.

Screenshots

Screenshot 2024-04-12 at 4 22 39 PM

Syntax

dialogue
  role center cloud System
  role right User
  role left Assistant
  function left dotted find_joke

  System: You are a helpful assistant.
  User: Tell me a joke about mermaid.
  find_joke("mermaid") returns "Mermaid wore seashells to the math class"
  Assistant: `Why did the mermaid wear seashells to the math class?

  Because she wanted to improve her shell-fish abilities!`

Implementation

I will try and implement it myself.

@hanchchch hanchchch added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request Type: New Diagram labels Apr 12, 2024
@sidharthv96
Copy link
Member

Please go through #5367 (comment) and related discussions before writing the code, we are moving from Jison to Langium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request Type: New Diagram
Projects
None yet
Development

No branches or pull requests

2 participants