def feed_document(self, document: VespaDocument, schema: str, timeout: int = 60) -> FeedDocumentResponse:
        """
        Feed a document to Vespa.

        Args:
            document: Document to feed
            schema: Schema to feed to
            timeout: Timeout in seconds

        Returns:
            FeedResponse object
        """
        doc_id = document.id
        data = {'fields': document.fields}

        end_point = f'{self.document_url}/document/v1/{schema}/{schema}/docid/{doc_id}'

        resp = self.http_client.post(end_point, json=data, timeout=timeout)

        self._raise_for_status(resp)

        return FeedDocumentResponse(**resp.json())

        Feed a document to Vespa.

        Args:
            document: Document to feed
            schema: Schema to feed to
            timeout: Timeout in seconds

        Returns:
            FeedResponse object
        
src/marqo/vespa/vespa_client.py