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

Add “real” multi-turn support to chat-enabled generators #1067

Open
leondz opened this issue Jan 10, 2025 · 0 comments
Open

Add “real” multi-turn support to chat-enabled generators #1067

leondz opened this issue Jan 10, 2025 · 0 comments
Labels
architecture Architectural upgrades generators Interfaces with LLMs

Comments

@leondz
Copy link
Collaborator

leondz commented Jan 10, 2025

Summary

Enable native support for chat histories in generators that support it

Basic example

When posting via APIs that support chat history (e.g. OpenAICompatible) we only send the current user prompt. We should be sending the entire chat history. Update generators to make this possible, adding a config flag (enabled by default) to send the full history as a list of dicts detailing actor and string.

Motivation

We must support multi-turn attacks

may subsume #202

@leondz leondz added architecture Architectural upgrades generators Interfaces with LLMs labels Jan 10, 2025
@leondz leondz added this to the 25.02 Efficiency milestone Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Architectural upgrades generators Interfaces with LLMs
Projects
None yet
Development

No branches or pull requests

1 participant