CollectionCreateRequest
Properties
Name |
Type |
Description |
Notes |
---|---|---|---|
name |
str |
||
description |
str |
||
embedding_model |
str |
[optional] |
|
collection_settings |
[optional] |
||
chat_settings |
[optional] |
Example
from h2ogpte.rest.models.collection_create_request import CollectionCreateRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CollectionCreateRequest from a JSON string
collection_create_request_instance = CollectionCreateRequest.from_json(json)
# print the JSON string representation of the object
print(CollectionCreateRequest.to_json())
# convert the object into a dict
collection_create_request_dict = collection_create_request_instance.to_dict()
# create an instance of CollectionCreateRequest from a dict
collection_create_request_from_dict = CollectionCreateRequest.from_dict(collection_create_request_dict)