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

fix: move relevant chunks before current conversations #772

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions nemoguardrails/llm/prompts/openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,16 +238,17 @@ prompts:
# This is how a conversation between a user and the bot can go:
{{ sample_conversation }}

# This is the current conversation between the user and the bot:
{{ history | colang }}

{% if context.relevant_chunks %}
# This is some additional context:
```markdown
{{ context.relevant_chunks }}
```
{% endif %}

# This is the current conversation between the user and the bot:
{{ history | colang }}


bot intent:

- task: generate_flow_continuation_from_flow_nld
Expand Down