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
Copy file name to clipboardExpand all lines: abacusai/api_class/model.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -486,6 +486,7 @@ class ChatLLMTrainingConfig(TrainingConfig):
486
486
response_format: (str): When set to 'JSON', the LLM will generate a JSON formatted string.
487
487
json_response_instructions (str): Instructions to be followed while generating the json_response if `response_format` is set to "JSON". This can include the schema information if the schema is dynamic and its keys cannot be pre-determined.
488
488
json_response_schema (str): Specifies the JSON schema that the model should adhere to if `response_format` is set to "JSON". This should be a json-formatted string where each field of the expected schema is mapped to a dictionary containing the fields 'type', 'required' and 'description'. For example - '{"sample_field": {"type": "integer", "required": true, "description": "Sample Field"}}'
489
+
mask_pii (bool): Mask PII in the prompts and uploaded documents before sending it to the LLM.
description (str): Description of the Python function. This should include details about the function's purpose, expected inputs and outputs, and any important usage considerations or limitations.
8033
8050
examples (dict): Dictionary containing example use cases and anti-patterns. Should include 'positive_examples' showing recommended usage and 'negative_examples' showing cases to avoid.])
8034
8051
user_level_connectors (Dict): Dictionary containing user level connectors.
8035
-
org_level_connectors (list): List containing organization level connectors.
8052
+
org_level_connectors (List): List containing organization level connectors.
8036
8053
output_variable_mappings (List): List of output variable mappings that defines the elements of the function's return value.
Copy file name to clipboardExpand all lines: docs/_sources/autoapi/abacusai/api_class/index.rst.txt
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,6 +191,7 @@ Classes
191
191
abacusai.api_class.ResponseSectionType
192
192
abacusai.api_class.CodeLanguage
193
193
abacusai.api_class.DeploymentConversationType
194
+
abacusai.api_class.AgentClientType
194
195
abacusai.api_class.ApiClass
195
196
abacusai.api_class._ApiClassFactory
196
197
abacusai.api_class.DocumentProcessingConfig
@@ -2019,6 +2020,11 @@ Package Contents
2019
2020
2020
2021
2021
2022
2023
+
.. py:attribute::COMPREHENSIVE_MARKDOWN
2024
+
:value: 'COMPREHENSIVE_MARKDOWN'
2025
+
2026
+
2027
+
2022
2028
.. py:method:: is_ocr_forced(document_type)
2023
2029
:classmethod:
2024
2030
@@ -6146,6 +6152,11 @@ Package Contents
6146
6152
6147
6153
6148
6154
6155
+
.. py:attribute::COMPREHENSIVE_MARKDOWN
6156
+
:value: 'COMPREHENSIVE_MARKDOWN'
6157
+
6158
+
6159
+
6149
6160
.. py:method:: is_ocr_forced(document_type)
6150
6161
:classmethod:
6151
6162
@@ -6526,6 +6537,36 @@ Package Contents
6526
6537
6527
6538
6528
6539
6540
+
.. py:attribute::TEST_AGENT
6541
+
:value: 'TEST_AGENT'
6542
+
6543
+
6544
+
6545
+
.. py:class:: AgentClientType
6546
+
6547
+
Bases: :py:obj:`ApiEnum`
6548
+
6549
+
6550
+
Generic enumeration.
6551
+
6552
+
Derive from this class to define new enumerations.
6553
+
6554
+
6555
+
.. py:attribute::CHAT_UI
6556
+
:value: 'CHAT_UI'
6557
+
6558
+
6559
+
6560
+
.. py:attribute::MESSAGING_APP
6561
+
:value: 'MESSAGING_APP'
6562
+
6563
+
6564
+
6565
+
.. py:attribute::API
6566
+
:value: 'API'
6567
+
6568
+
6569
+
6529
6570
.. py:class:: ApiClass
6530
6571
6531
6572
Bases: :py:obj:`abc.ABC`
@@ -8863,6 +8904,8 @@ Package Contents
8863
8904
:type json_response_instructions: str
8864
8905
:param json_response_schema: Specifies the JSON schema that the model should adhere to if `response_format` is set to "JSON". This should be a json-formatted string where each field of the expected schema is mapped to a dictionary containing the fields 'type', 'required' and 'description'. For example - '{"sample_field": {"type": "integer", "required": true, "description": "Sample Field"}}'
8865
8906
:type json_response_schema: str
8907
+
:param mask_pii: Mask PII in the prompts and uploaded documents before sending it to the LLM.
0 commit comments