mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-22 14:43:07 +00:00

* Add ChatHuggingFaceTGIGenerator * Add release note --------- Co-authored-by: Daria Fokina <daria.fokina@deepset.ai> Co-authored-by: Stefano Fiorucci <44616784+anakin87@users.noreply.github.com>
12 lines
274 B
Python
12 lines
274 B
Python
import pytest
|
|
|
|
from haystack.preview.dataclasses import ChatMessage
|
|
|
|
|
|
@pytest.fixture
|
|
def chat_messages():
|
|
return [
|
|
ChatMessage.from_system("You are a helpful assistant speaking A2 level of English"),
|
|
ChatMessage.from_user("Tell me about Berlin"),
|
|
]
|