question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding dialogues as a context in the input text

See original GitHub issue

Hi,

Can we prepend a set of dialogue script between user and bot in the text as a seed conversation context. How much will it be effective to generate the relevant response.

Input pattern: input = "your persona:{persona}\n..\n{user_input} {bot_output}\n...\n{actual input text}"

Thanks!

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
klshustercommented, Nov 29, 2022

Ahh, when I said there were no length restrictions I meant that ParlAI itself could handle any length; the models are bound by their truncation length

1reaction
klshustercommented, Nov 18, 2022

Yes, we offer several ways of doing this, via the --rag-retriever-type, such as using neural retrieval over document embeddings, of TFIDF over document sets. Please see the relevant README for more details

Read more comments on GitHub >

github_iconTop Results From Across the Web

dart - How to create a dialog that is able to accept text input ...
This is a quick ugly example for what you are asking for, to just pass the concept around: enter image description here
Read more >
Personalizing the dialog with context - IBM Cloud Docs
Click to open the dialog node to which you want to add a context variable. to see the menu that is associated with...
Read more >
<input type="text"> - HTML: HyperText Markup Language | MDN
The value attribute is a string that contains the current value of the text entered into the text field. You can retrieve this...
Read more >
InputBox function (Visual Basic for Applications)
Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns a String containing...
Read more >
Amazon Sumerian Dialogue Component
Use the Sumerian dialogue component to add a chatbot that can with users. ... Process with Lex – Send text input to dialogue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found