|
Download sdks/python/docs/RagSearchRequest.md from cryptorugmunch/rugmuncher-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/cryptorugmunch/rugmuncher-backend/resolve/main/sdks/python/docs/RagSearchRequest.md
- Command line
-
hf download hf://cryptorugmunch/rugmuncher-backend/sdks/python/docs/RagSearchRequest.md
-
curl -L -o RagSearchRequest.md https://huggingface.co/cryptorugmunch/rugmuncher-backend/resolve/main/sdks/python/docs/RagSearchRequest.md
1.02 kB
RagSearchRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| query | str | ||
| collection | str | [optional] [default to 'scam_intel'] | |
| top_k | int | [optional] [default to 5] |
Example
from rugmunch.models.rag_search_request import RagSearchRequest
# TODO update the JSON string below
json = "{}"
# create an instance of RagSearchRequest from a JSON string
rag_search_request_instance = RagSearchRequest.from_json(json)
# print the JSON string representation of the object
print(RagSearchRequest.to_json())
# convert the object into a dict
rag_search_request_dict = rag_search_request_instance.to_dict()
# create an instance of RagSearchRequest from a dict
rag_search_request_from_dict = RagSearchRequest.from_dict(rag_search_request_dict)