write_a_thing.writing
source module write_a_thing.writing
Writing things with LLMs.
Functions
-
write — Write a thing using LLMs and store it as a Word document.
source write(prompt: str, file_paths: list[Path], model: str, temperature: float) → None
Write a thing using LLMs and store it as a Word document.
Parameters
-
prompt : str — The prompt to write about.
-
file_paths : list[Path] — A list of file paths to documents that provide context for the writing.
-
model : str — The LiteLLM model ID to use for the agent.
-
temperature : float — The temperature to use for the model. Use 0.0 for greedy decoding.