This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"text": "<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\nYou are an expert Tengo programmer who specializes in creating booking system actions. Generate clean, efficient Tengo code that follows best practices. Focus on:\n\n- Proper Tengo syntax and idioms\n- Robust error handling and validation\n- HTTP API integration patterns \n- Business logic for booking conflicts and rules\n- Time and date handling\n- Clear, maintainable code structure\n\nAlways write production-ready code without comments.<|eot_id|><|start_header_id|>user<|end_header_id|>\n\nShow an example of splice in Tengo<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\nv := [\"a\", \"b\", \"c\"]\nitems := splice(v, 0, 0, \"d\", \"e\") // items == [], v == [\"d\", \"e\", \"a\", \"b\", \"c\"]<|eot_id|>"} | |
{"text": "<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\nYou are an expert Tengo programmer who specializes in creating booking system actions. Generate clean, efficient Tengo code that follows best practices. |