You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MINOR: First approach for document chunking. (#950)
* WIP first approach for document chunking.
* More rag
* Rework vith content type framework
* Improve rag view with new contenttype framework
* multiples fixes & tests
* Remove metadata & add page_numbers.
* Fix how the AI app is loaded.
* Remove code that was wrongfuly commit on this branch
* Start moving exisint ai feature inside ai app.
* Add document content & fixes
* Improve migration to not break cloud during deployment.
Copy file name to clipboardExpand all lines: bimdata_api_client/api/collaboration_api.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9333,7 +9333,7 @@ def create_document(
9333
9333
):
9334
9334
"""Create a document # noqa: E501
9335
9335
9336
-
Create a document. If the document is one of {'POINT_CLOUD', 'IFC', 'OBJ', 'DXF', 'DWG', 'GLTF', 'PHOTOSPHERE'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
9336
+
Create a document. If the document is one of {'IFC', 'POINT_CLOUD', 'OBJ', 'GLTF', 'PHOTOSPHERE', 'DXF', 'DWG'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
9337
9337
This method makes a synchronous HTTP request by default. To make an
Copy file name to clipboardExpand all lines: docs/CollaborationApi.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1808,14 +1808,14 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1808
1808
id = 1 # int | A unique integer value identifying this project.
1809
1809
write_folder_request = [
1810
1810
WriteFolderRequest(
1811
-
parent_id=1,
1812
-
default_permission=1,
1813
1811
name="name_example",
1812
+
default_permission=1,
1813
+
parent_id=1,
1814
1814
children=[
1815
1815
WriteFolder(
1816
-
parent_id=1,
1817
-
default_permission=1,
1818
1816
name="name_example",
1817
+
default_permission=1,
1818
+
parent_id=1,
1819
1819
children=None,
1820
1820
),
1821
1821
],
@@ -1872,7 +1872,7 @@ Name | Type | Description | Notes
1872
1872
1873
1873
Create a document
1874
1874
1875
-
Create a document. If the document is one of {'POINT_CLOUD', 'IFC', 'OBJ', 'DXF', 'DWG', 'GLTF', 'PHOTOSPHERE'}, a model will be created and attached to this document Required scopes: document:write
1875
+
Create a document. If the document is one of {'IFC', 'POINT_CLOUD', 'OBJ', 'GLTF', 'PHOTOSPHERE', 'DXF', 'DWG'}, a model will be created and attached to this document Required scopes: document:write
1876
1876
1877
1877
### Example
1878
1878
@@ -11251,7 +11251,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
11251
11251
project_pk = 1 # int | A unique integer value identifying this project.
**text** | **str, none_type** | The full text representation of a document if the feature is enabled and the file format supported | [optional]
9
-
**language** | **str, none_type** | * `spanish` - spanish * `german` - german * `english` - english * `french` - french * `italian` - italian | [optional]
9
+
**language** | **str, none_type** | * `german` - german * `english` - english * `italian` - italian * `french` - french * `spanish` - spanish | [optional]
10
10
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
11
11
12
12
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**text** | **str, none_type** | The full text representation of a document if the feature is enabled and the file format supported | [optional]
8
-
**language** | **str, none_type** | * `spanish` - spanish * `german` - german * `english` - english * `french` - french * `italian` - italian | [optional]
8
+
**language** | **str, none_type** | * `german` - german * `english` - english * `italian` - italian * `french` - french * `spanish` - spanish | [optional]
9
9
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
10
10
11
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**type** | **str** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
8
-
**user_permission** | **int** | Aggregate of group user permissions and folder default permission | [readonly]
7
+
**id** | **int** | | [readonly]
8
+
**updated_at** | **datetime** | Date of the last update | [readonly]
9
9
**groups_permissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
10
10
**created_at** | **datetime** | Creation date | [readonly]
11
-
**nature** | **str** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
12
-
**updated_at** | **datetime** | Date of the last update | [readonly]
**user_permission** | **int** | Aggregate of group user permissions and folder default permission | [readonly]
13
+
**type** | **str** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
0 commit comments