RAG / openai_text-embedding-ada-002 /fixed_chunks /_chat_templating.txt_chunk_10.txt
thenativefox
Added split files and tables
939262b
raw
history blame contribute delete
615 Bytes
Replace Python methods with Jinja filters. These usually have the same name, for example string.lower() becomes
string|lower, and dict.items() becomes dict|items. One notable change is that string.strip() becomes string|trim.
See the list of built-in filters
in the Jinja documentation for more.
Replace True, False and None, which are Python-specific, with true, false and none.
Directly rendering a dict or list may give different results in other implementations (for example, string entries
might change from single-quoted to double-quoted). Adding the tojson filter can help to ensure consistency here.