3-doc.us

doc

People say "doc" to mean a doctor, a person who treats illness. They also say it to mean a document, any piece of writing like a letter or report.

What a model may hear

documentation file software projects
retrieve or generate READMEs, API docs, or help pages
docstring Python and other code
read inline documentation from code comments as structured metadata
DOM Document object web programming
treat the word as a browser's parsed HTML tree and run queries on it
Docker container DevOps slang
assume a container or image reference, sometimes spelled 'doc' informally

Where people and models part ways

“show me the doc”

Meant: show me the document I wrote

May be taken as: returns a software project's documentation or a code docstring

Say instead: “show me the document file I uploaded”

“ask the doc”

Meant: ask the doctor for advice

May be taken as: triggers a documentation lookup or medical knowledge base query

Say instead: “what would a doctor say about this symptom”

“save the doc”

Meant: save my Word file

May be taken as: writes to a documentation repository or generates a docstring

Say instead: “save the document file to my downloads folder”

Tips

Often confused with

dock
a platform for ships or a macOS launcher
docs
plural documents, or Google Docs specifically
docx
a Microsoft Word file format
dot
a small mark, or a graph node
docket
a court schedule or list of cases