mirror of
https://github.com/open-webui/pipelines
synced 2025-05-20 20:25:03 +00:00
9 lines
226 B
Python
9 lines
226 B
Python
from typing import List
|
|
from schemas import OpenAIChatMessage
|
|
|
|
|
|
def get_response(user_message: str, messages: List[OpenAIChatMessage]):
|
|
print(messages)
|
|
print(user_message)
|
|
return f"rag response to: {user_message}"
|