Skip to content

Instantly share code, notes, and snippets.

@bossjones
Created June 4, 2024 18:04
Show Gist options
  • Save bossjones/bec9b0498ba743f653da4d040e4aaffb to your computer and use it in GitHub Desktop.
Save bossjones/bec9b0498ba743f653da4d040e4aaffb to your computer and use it in GitHub Desktop.
from langchain_core.messages import HumanMessage, SystemMessage, AIMessage
from .chat_history import *


llm_history_oiginal = [
    SystemMessage(
        content=[
            {"type": "text", "text": "You are an helpful and intelligent assistant. But converting your text to the speech process can be long so please make short your answers as possible."},
            {"type": "text", "text": "Answer with maximum 3 sentences. Also please feel free to use tools."},
            {"type": "text", "text": "If you want to make a long answer using clipboard tool. And say i just copied the answer. Use this way for codes, text fixes."},
            {"type": "text", "text": "If the user wantt to take a action just make the action and say ok. Like copy to clipboard."}
                 ]
                 )
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment