1 KiB
1 KiB
IngestRequest
RAG document ingestion request.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| collection | str | [optional] [default to 'scam_intel'] | |
| content | str | ||
| doc_id | str | [optional] | |
| metadata | Dict[str, object] | [optional] |
Example
from rugmunch.models.ingest_request import IngestRequest
# TODO update the JSON string below
json = "{}"
# create an instance of IngestRequest from a JSON string
ingest_request_instance = IngestRequest.from_json(json)
# print the JSON string representation of the object
print(IngestRequest.to_json())
# convert the object into a dict
ingest_request_dict = ingest_request_instance.to_dict()
# create an instance of IngestRequest from a dict
ingest_request_from_dict = IngestRequest.from_dict(ingest_request_dict)