type
stringclasses
5 values
name
stringlengths
1
55
qualified_name
stringlengths
5
147
docstring
stringlengths
15
4.52k
filepath
stringclasses
206 values
is_public
bool
2 classes
is_private
bool
2 classes
line_start
int64
0
1.99k
line_end
int64
0
2.01k
annotation
stringclasses
14 values
returns
stringclasses
308 values
value
stringclasses
152 values
parameters
listlengths
0
117
bases
listlengths
0
3
parent_class
stringclasses
376 values
api_element_summary
stringlengths
199
33.8k
method
_validate_against_join_types
fenic.core.types.semantic_examples.JoinExampleCollection._validate_against_join_types
Validate that example types match the actual join column types. Args: left_type: DataType of the left join column right_type: DataType of the right join column Raises: InvalidExampleCollectionError: If example types don't match column types.
null
false
true
644
658
null
None
null
[ "self", "left_type", "right_type" ]
null
JoinExampleCollection
Type: method Member Name: _validate_against_join_types Qualified Name: fenic.core.types.semantic_examples.JoinExampleCollection._validate_against_join_types Docstring: Validate that example types match the actual join column types. Args: left_type: DataType of the left join column right_type: DataType of the r...
method
_as_df_input
fenic.core.types.semantic_examples.JoinExampleCollection._as_df_input
Convert examples to a list of dictionaries suitable for DataFrame creation.
null
false
true
660
676
null
List[Dict[str, Any]]
null
[ "self" ]
null
JoinExampleCollection
Type: method Member Name: _as_df_input Qualified Name: fenic.core.types.semantic_examples.JoinExampleCollection._as_df_input Docstring: Convert examples to a list of dictionaries suitable for DataFrame creation. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self"] Returns: List[Dict[s...
class
_ExampleTypeValidator
fenic.core.types.semantic_examples._ExampleTypeValidator
Validates types across examples with no None values allowed.
null
false
true
678
748
null
null
null
null
[]
null
Type: class Member Name: _ExampleTypeValidator Qualified Name: fenic.core.types.semantic_examples._ExampleTypeValidator Docstring: Validates types across examples with no None values allowed. Value: none Annotation: none is Public? : false is Private? : true Parameters: none Returns: none Parent Class: none
method
__init__
fenic.core.types.semantic_examples._ExampleTypeValidator.__init__
null
null
true
false
681
683
null
null
null
[ "self" ]
null
_ExampleTypeValidator
Type: method Member Name: __init__ Qualified Name: fenic.core.types.semantic_examples._ExampleTypeValidator.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: none Parent Class: _ExampleTypeValidator
method
process_example
fenic.core.types.semantic_examples._ExampleTypeValidator.process_example
Process an example dict, establishing or validating types.
null
true
false
685
718
null
None
null
[ "self", "example_dict", "example_num" ]
null
_ExampleTypeValidator
Type: method Member Name: process_example Qualified Name: fenic.core.types.semantic_examples._ExampleTypeValidator.process_example Docstring: Process an example dict, establishing or validating types. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "example_dict", "example_num"] ...
method
validate_against_column_types
fenic.core.types.semantic_examples._ExampleTypeValidator.validate_against_column_types
Validate that column types are a subset of example field types. Args: column_types: Mapping of column names to their DataType from the query plan. Raises: InvalidExampleCollectionError: If column types don't match example types or if columns are missing from examples.
null
true
false
720
748
null
None
null
[ "self", "column_types" ]
null
_ExampleTypeValidator
Type: method Member Name: validate_against_column_types Qualified Name: fenic.core.types.semantic_examples._ExampleTypeValidator.validate_against_column_types Docstring: Validate that column types are a subset of example field types. Args: column_types: Mapping of column names to their DataType from the query plan...
module
schema
fenic.core.types.schema
Schema definitions for DataFrame structures. This module provides classes for defining and working with DataFrame schemas. It includes ColumnField for individual column definitions and Schema for complete DataFrame structure definitions.
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/types/schema.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: schema Qualified Name: fenic.core.types.schema Docstring: Schema definitions for DataFrame structures. This module provides classes for defining and working with DataFrame schemas. It includes ColumnField for individual column definitions and Schema for complete DataFrame structure definition...
class
ColumnField
fenic.core.types.schema.ColumnField
Represents a typed column in a DataFrame schema. A ColumnField defines the structure of a single column by specifying its name and data type. This is used as a building block for DataFrame schemas. Attributes: name: The name of the column. data_type: The data type of the column, as a DataType instance.
null
true
false
17
74
null
null
null
null
[]
null
Type: class Member Name: ColumnField Qualified Name: fenic.core.types.schema.ColumnField Docstring: Represents a typed column in a DataFrame schema. A ColumnField defines the structure of a single column by specifying its name and data type. This is used as a building block for DataFrame schemas. Attributes: name...
method
__str__
fenic.core.types.schema.ColumnField.__str__
Return a string representation of the ColumnField. Returns: A string in the format "ColumnField(name='name', data_type=type)".
null
true
false
32
38
null
str
null
[ "self" ]
null
ColumnField
Type: method Member Name: __str__ Qualified Name: fenic.core.types.schema.ColumnField.__str__ Docstring: Return a string representation of the ColumnField. Returns: A string in the format "ColumnField(name='name', data_type=type)". Value: none Annotation: none is Public? : true is Private? : false Parameters: ["se...
method
_str_with_indent
fenic.core.types.schema.ColumnField._str_with_indent
Return a pretty-printed string representation with indentation. Args: indent: Number of spaces to indent. Returns: A formatted string representation of the ColumnField.
null
false
true
40
74
null
str
null
[ "self", "indent" ]
null
ColumnField
Type: method Member Name: _str_with_indent Qualified Name: fenic.core.types.schema.ColumnField._str_with_indent Docstring: Return a pretty-printed string representation with indentation. Args: indent: Number of spaces to indent. Returns: A formatted string representation of the ColumnField. Value: none Annota...
class
Schema
fenic.core.types.schema.Schema
Represents the schema of a DataFrame. A Schema defines the structure of a DataFrame by specifying an ordered collection of column fields. Each column field defines the name and data type of a column in the DataFrame. Attributes: column_fields: An ordered list of ColumnField objects that define the structu...
null
true
false
77
123
null
null
null
null
[]
null
Type: class Member Name: Schema Qualified Name: fenic.core.types.schema.Schema Docstring: Represents the schema of a DataFrame. A Schema defines the structure of a DataFrame by specifying an ordered collection of column fields. Each column field defines the name and data type of a column in the DataFrame. Attributes:...
method
__str__
fenic.core.types.schema.Schema.__str__
Return a string representation of the Schema. Returns: A multi-line string with proper indentation showing the schema structure.
null
true
false
92
98
null
str
null
[ "self" ]
null
Schema
Type: method Member Name: __str__ Qualified Name: fenic.core.types.schema.Schema.__str__ Docstring: Return a string representation of the Schema. Returns: A multi-line string with proper indentation showing the schema structure. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"...
method
_str_with_indent
fenic.core.types.schema.Schema._str_with_indent
Return a pretty-printed string with custom base indentation. Args: base_indent: Number of spaces to use as base indentation. Returns: A multi-line string with proper indentation relative to base_indent.
null
false
true
100
115
null
str
null
[ "self", "base_indent" ]
null
Schema
Type: method Member Name: _str_with_indent Qualified Name: fenic.core.types.schema.Schema._str_with_indent Docstring: Return a pretty-printed string with custom base indentation. Args: base_indent: Number of spaces to use as base indentation. Returns: A multi-line string with proper indentation relative to ba...
method
column_names
fenic.core.types.schema.Schema.column_names
Get a list of all column names in the schema. Returns: A list of strings containing the names of all columns in the schema.
null
true
false
117
123
null
List[str]
null
[ "self" ]
null
Schema
Type: method Member Name: column_names Qualified Name: fenic.core.types.schema.Schema.column_names Docstring: Get a list of all column names in the schema. Returns: A list of strings containing the names of all columns in the schema. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["...
class
DatasetMetadata
fenic.core.types.schema.DatasetMetadata
Metadata for a dataset (table or view). Attributes: schema: The schema of the dataset. description: The natural language description of the dataset's contents.
null
true
false
126
135
null
null
null
null
[]
null
Type: class Member Name: DatasetMetadata Qualified Name: fenic.core.types.schema.DatasetMetadata Docstring: Metadata for a dataset (table or view). Attributes: schema: The schema of the dataset. description: The natural language description of the dataset's contents. Value: none Annotation: none is Public? : t...
module
_inference
fenic.core._inference
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_inference/__init__.py
false
true
null
null
null
null
null
null
null
null
Type: module Member Name: _inference Qualified Name: fenic.core._inference Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: none Returns: none Parent Class: none
module
output_token_limits
fenic.core._inference.output_token_limits
Helpers for validating visible completion and reasoning token budgets.
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_inference/output_token_limits.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: output_token_limits Qualified Name: fenic.core._inference.output_token_limits Docstring: Helpers for validating visible completion and reasoning token budgets. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
ResolvedModelProfile
fenic.core._inference.output_token_limits.ResolvedModelProfile
null
null
true
false
20
25
null
null
Union[ResolvedAnthropicModelProfile, ResolvedGoogleModelProfile, ResolvedOpenAIModelProfile, ResolvedOpenRouterModelProfile]
null
null
null
Type: attribute Member Name: ResolvedModelProfile Qualified Name: fenic.core._inference.output_token_limits.ResolvedModelProfile Docstring: none Value: Union[ResolvedAnthropicModelProfile, ResolvedGoogleModelProfile, ResolvedOpenAIModelProfile, ResolvedOpenRouterModelProfile] Annotation: none is Public? : true is Priva...
attribute
OPENAI_REASONING_TOKEN_ESTIMATES
fenic.core._inference.output_token_limits.OPENAI_REASONING_TOKEN_ESTIMATES
null
null
true
false
27
35
Final[dict[str, int]]
null
{'none': 0, 'minimal': 2048, 'low': 4096, 'medium': 8192, 'high': 16384, 'xhigh': 32768, 'max': 65536}
null
null
null
Type: attribute Member Name: OPENAI_REASONING_TOKEN_ESTIMATES Qualified Name: fenic.core._inference.output_token_limits.OPENAI_REASONING_TOKEN_ESTIMATES Docstring: none Value: {'none': 0, 'minimal': 2048, 'low': 4096, 'medium': 8192, 'high': 16384, 'xhigh': 32768, 'max': 65536} Annotation: Final[dict[str, int]] is Publ...
attribute
OPENROUTER_REASONING_EFFORT_RATIOS
fenic.core._inference.output_token_limits.OPENROUTER_REASONING_EFFORT_RATIOS
null
null
true
false
37
45
Final[dict[str, float]]
null
{'none': 0.0, 'minimal': 0.1, 'low': 0.2, 'medium': 0.5, 'high': 0.8, 'xhigh': 0.95, 'max': 0.95}
null
null
null
Type: attribute Member Name: OPENROUTER_REASONING_EFFORT_RATIOS Qualified Name: fenic.core._inference.output_token_limits.OPENROUTER_REASONING_EFFORT_RATIOS Docstring: none Value: {'none': 0.0, 'minimal': 0.1, 'low': 0.2, 'medium': 0.5, 'high': 0.8, 'xhigh': 0.95, 'max': 0.95} Annotation: Final[dict[str, float]] is Pub...
attribute
GOOGLE_THINKING_LEVEL_TOKEN_ESTIMATES
fenic.core._inference.output_token_limits.GOOGLE_THINKING_LEVEL_TOKEN_ESTIMATES
null
null
true
false
47
52
Final[dict[str, int]]
null
{'minimal': 2048, 'low': 8192, 'medium': 16384, 'high': 32768}
null
null
null
Type: attribute Member Name: GOOGLE_THINKING_LEVEL_TOKEN_ESTIMATES Qualified Name: fenic.core._inference.output_token_limits.GOOGLE_THINKING_LEVEL_TOKEN_ESTIMATES Docstring: none Value: {'minimal': 2048, 'low': 8192, 'medium': 16384, 'high': 32768} Annotation: Final[dict[str, int]] is Public? : true is Private? : false...
attribute
GOOGLE_REASONING_SAFETY_MARGIN
fenic.core._inference.output_token_limits.GOOGLE_REASONING_SAFETY_MARGIN
null
null
true
false
59
59
Final[float]
null
1.5
null
null
null
Type: attribute Member Name: GOOGLE_REASONING_SAFETY_MARGIN Qualified Name: fenic.core._inference.output_token_limits.GOOGLE_REASONING_SAFETY_MARGIN Docstring: none Value: 1.5 Annotation: Final[float] is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
ANTHROPIC_ADAPTIVE_THINKING_EFFORT_RATIOS
fenic.core._inference.output_token_limits.ANTHROPIC_ADAPTIVE_THINKING_EFFORT_RATIOS
null
null
true
false
61
67
Final[dict[str, float]]
null
{'low': 0.2, 'medium': 0.5, 'high': 0.8, 'xhigh': 0.95, 'max': 1.0}
null
null
null
Type: attribute Member Name: ANTHROPIC_ADAPTIVE_THINKING_EFFORT_RATIOS Qualified Name: fenic.core._inference.output_token_limits.ANTHROPIC_ADAPTIVE_THINKING_EFFORT_RATIOS Docstring: none Value: {'low': 0.2, 'medium': 0.5, 'high': 0.8, 'xhigh': 0.95, 'max': 1.0} Annotation: Final[dict[str, float]] is Public? : true is P...
function
validate_effective_output_token_limit
fenic.core._inference.output_token_limits.validate_effective_output_token_limit
Return the provider request limit after validating reasoning headroom. `requested_completion_tokens` is the visible completion budget. Reasoning models often require a larger provider-side output limit to preserve that visible budget. Fail when the combined visible + estimated reasoning budget exceeds the model cap in...
null
true
false
70
111
null
Optional[int]
null
[ "model_provider", "model_name", "model_max_output_tokens", "requested_completion_tokens", "estimated_reasoning_tokens", "reasoning_shares_output_window" ]
null
null
Type: function Member Name: validate_effective_output_token_limit Qualified Name: fenic.core._inference.output_token_limits.validate_effective_output_token_limit Docstring: Return the provider request limit after validating reasoning headroom. `requested_completion_tokens` is the visible completion budget. Reasoning m...
function
resolve_openai_reasoning_effort
fenic.core._inference.output_token_limits.resolve_openai_reasoning_effort
Resolve the effective OpenAI reasoning effort for a profile. Reasoning effort behavior varies by model: - o-series/gpt-5 models: do not support disabling reasoning, default to the lowest supported effort (minimal or low) - gpt-5.1+ models: support 'none' to disable reasoning, default to 'none' - models with a catalo...
null
true
false
114
134
null
str
null
[ "completion_parameters", "reasoning_effort" ]
null
null
Type: function Member Name: resolve_openai_reasoning_effort Qualified Name: fenic.core._inference.output_token_limits.resolve_openai_reasoning_effort Docstring: Resolve the effective OpenAI reasoning effort for a profile. Reasoning effort behavior varies by model: - o-series/gpt-5 models: do not support disabling reas...
function
estimate_reasoning_tokens_for_resolved_profile
fenic.core._inference.output_token_limits.estimate_reasoning_tokens_for_resolved_profile
Estimate provider-side reasoning tokens for a resolved model profile.
null
true
false
137
154
null
int
null
[ "model_config", "completion_parameters", "profile_name" ]
null
null
Type: function Member Name: estimate_reasoning_tokens_for_resolved_profile Qualified Name: fenic.core._inference.output_token_limits.estimate_reasoning_tokens_for_resolved_profile Docstring: Estimate provider-side reasoning tokens for a resolved model profile. Value: none Annotation: none is Public? : true is Private? ...
function
reasoning_shares_output_window_for_resolved_profile
fenic.core._inference.output_token_limits.reasoning_shares_output_window_for_resolved_profile
Whether the resolved profile uses a reasoning budget that shares the output window. True only for Anthropic adaptive-thinking effort profiles, where the thinking budget is an adaptive maximum inside `max_tokens` rather than a fixed reservation on top of the visible completion budget.
null
true
false
157
174
null
bool
null
[ "model_config", "completion_parameters", "profile_name" ]
null
null
Type: function Member Name: reasoning_shares_output_window_for_resolved_profile Qualified Name: fenic.core._inference.output_token_limits.reasoning_shares_output_window_for_resolved_profile Docstring: Whether the resolved profile uses a reasoning budget that shares the output window. True only for Anthropic adaptive-t...
function
_resolve_profile
fenic.core._inference.output_token_limits._resolve_profile
null
null
false
true
177
182
null
Optional[ResolvedModelProfile]
null
[ "model_config", "profile_name" ]
null
null
Type: function Member Name: _resolve_profile Qualified Name: fenic.core._inference.output_token_limits._resolve_profile Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["model_config", "profile_name"] Returns: Optional[ResolvedModelProfile] Parent Class: none
function
_estimate_openai_reasoning_tokens
fenic.core._inference.output_token_limits._estimate_openai_reasoning_tokens
null
null
false
true
185
194
null
int
null
[ "completion_parameters", "profile" ]
null
null
Type: function Member Name: _estimate_openai_reasoning_tokens Qualified Name: fenic.core._inference.output_token_limits._estimate_openai_reasoning_tokens Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["completion_parameters", "profile"] Returns: int Parent Class: none
function
_estimate_google_reasoning_tokens
fenic.core._inference.output_token_limits._estimate_google_reasoning_tokens
null
null
false
true
197
217
null
int
null
[ "completion_parameters", "profile" ]
null
null
Type: function Member Name: _estimate_google_reasoning_tokens Qualified Name: fenic.core._inference.output_token_limits._estimate_google_reasoning_tokens Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["completion_parameters", "profile"] Returns: int Parent Class: none
function
_with_google_safety_margin
fenic.core._inference.output_token_limits._with_google_safety_margin
null
null
false
true
220
221
null
int
null
[ "expected_thinking_tokens" ]
null
null
Type: function Member Name: _with_google_safety_margin Qualified Name: fenic.core._inference.output_token_limits._with_google_safety_margin Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["expected_thinking_tokens"] Returns: int Parent Class: none
function
_estimate_anthropic_reasoning_tokens
fenic.core._inference.output_token_limits._estimate_anthropic_reasoning_tokens
null
null
false
true
224
237
null
int
null
[ "completion_parameters", "profile" ]
null
null
Type: function Member Name: _estimate_anthropic_reasoning_tokens Qualified Name: fenic.core._inference.output_token_limits._estimate_anthropic_reasoning_tokens Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["completion_parameters", "profile"] Returns: int Parent Class: n...
function
_estimate_openrouter_reasoning_tokens
fenic.core._inference.output_token_limits._estimate_openrouter_reasoning_tokens
null
null
false
true
240
252
null
int
null
[ "completion_parameters", "profile" ]
null
null
Type: function Member Name: _estimate_openrouter_reasoning_tokens Qualified Name: fenic.core._inference.output_token_limits._estimate_openrouter_reasoning_tokens Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["completion_parameters", "profile"] Returns: int Parent Class:...
module
model_provider
fenic.core._inference.model_provider
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_inference/model_provider.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: model_provider Qualified Name: fenic.core._inference.model_provider Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
ModelProviderClass
fenic.core._inference.model_provider.ModelProviderClass
Abstract base class for model providers. This class defines the interface that all model providers must implement, including API key validation functionality.
null
true
false
4
52
null
null
null
null
[ "ABC" ]
null
Type: class Member Name: ModelProviderClass Qualified Name: fenic.core._inference.model_provider.ModelProviderClass Docstring: Abstract base class for model providers. This class defines the interface that all model providers must implement, including API key validation functionality. Value: none Annotation: none is P...
method
create_client
fenic.core._inference.model_provider.ModelProviderClass.create_client
Create a synchronous client for this provider. Returns the provider-specific synchronous client instance configured with the appropriate credentials and settings.
null
true
false
17
24
null
null
null
[ "self" ]
null
ModelProviderClass
Type: method Member Name: create_client Qualified Name: fenic.core._inference.model_provider.ModelProviderClass.create_client Docstring: Create a synchronous client for this provider. Returns the provider-specific synchronous client instance configured with the appropriate credentials and settings. Value: none Annotat...
method
create_aio_client
fenic.core._inference.model_provider.ModelProviderClass.create_aio_client
Create an async client for this provider. Returns the provider-specific asynchronous client instance configured with the appropriate credentials and settings.
null
true
false
26
33
null
null
null
[ "self" ]
null
ModelProviderClass
Type: method Member Name: create_aio_client Qualified Name: fenic.core._inference.model_provider.ModelProviderClass.create_aio_client Docstring: Create an async client for this provider. Returns the provider-specific asynchronous client instance configured with the appropriate credentials and settings. Value: none Ann...
method
validate_api_key
fenic.core._inference.model_provider.ModelProviderClass.validate_api_key
Validate the API key for this provider. This method should create the appropriate client and perform a lightweight API call to verify that the configured credentials are valid and the service is accessible. Should log success but let exceptions bubble up.
null
true
false
35
43
null
None
null
[ "self" ]
null
ModelProviderClass
Type: method Member Name: validate_api_key Qualified Name: fenic.core._inference.model_provider.ModelProviderClass.validate_api_key Docstring: Validate the API key for this provider. This method should create the appropriate client and perform a lightweight API call to verify that the configured credentials are valid...
method
__str__
fenic.core._inference.model_provider.ModelProviderClass.__str__
null
null
true
false
45
46
null
str
null
[ "self" ]
null
ModelProviderClass
Type: method Member Name: __str__ Qualified Name: fenic.core._inference.model_provider.ModelProviderClass.__str__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: str Parent Class: ModelProviderClass
method
__repr__
fenic.core._inference.model_provider.ModelProviderClass.__repr__
null
null
true
false
48
49
null
str
null
[ "self" ]
null
ModelProviderClass
Type: method Member Name: __repr__ Qualified Name: fenic.core._inference.model_provider.ModelProviderClass.__repr__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: str Parent Class: ModelProviderClass
method
__hash__
fenic.core._inference.model_provider.ModelProviderClass.__hash__
null
null
true
false
51
52
null
int
null
[ "self" ]
null
ModelProviderClass
Type: method Member Name: __hash__ Qualified Name: fenic.core._inference.model_provider.ModelProviderClass.__hash__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: int Parent Class: ModelProviderClass
module
model_catalog
fenic.core._inference.model_catalog
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_inference/model_catalog.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: model_catalog Qualified Name: fenic.core._inference.model_catalog Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
logger
fenic.core._inference.model_catalog.logger
null
null
true
false
8
8
null
null
logging.getLogger(__name__)
null
null
null
Type: attribute Member Name: logger Qualified Name: fenic.core._inference.model_catalog.logger Docstring: none Value: logging.getLogger(__name__) Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
ThinkingLevelType
fenic.core._inference.model_catalog.ThinkingLevelType
null
null
true
false
11
11
null
null
Literal['high', 'medium', 'low', 'minimal']
null
null
null
Type: attribute Member Name: ThinkingLevelType Qualified Name: fenic.core._inference.model_catalog.ThinkingLevelType Docstring: none Value: Literal['high', 'medium', 'low', 'minimal'] Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
MediaResolutionType
fenic.core._inference.model_catalog.MediaResolutionType
null
null
true
false
12
12
null
null
Literal['low', 'medium', 'high']
null
null
null
Type: attribute Member Name: MediaResolutionType Qualified Name: fenic.core._inference.model_catalog.MediaResolutionType Docstring: none Value: Literal['low', 'medium', 'high'] Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
AnthropicReasoningEffortType
fenic.core._inference.model_catalog.AnthropicReasoningEffortType
null
null
true
false
13
13
null
null
Literal['low', 'medium', 'high', 'xhigh', 'max']
null
null
null
Type: attribute Member Name: AnthropicReasoningEffortType Qualified Name: fenic.core._inference.model_catalog.AnthropicReasoningEffortType Docstring: none Value: Literal['low', 'medium', 'high', 'xhigh', 'max'] Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
GEMINI_3X_PRO_THINKING_LEVELS
fenic.core._inference.model_catalog.GEMINI_3X_PRO_THINKING_LEVELS
null
null
true
false
16
16
Final[Set[ThinkingLevelType]]
null
{'high', 'medium', 'low'}
null
null
null
Type: attribute Member Name: GEMINI_3X_PRO_THINKING_LEVELS Qualified Name: fenic.core._inference.model_catalog.GEMINI_3X_PRO_THINKING_LEVELS Docstring: none Value: {'high', 'medium', 'low'} Annotation: Final[Set[ThinkingLevelType]] is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
GEMINI_3X_FLASH_THINKING_LEVELS
fenic.core._inference.model_catalog.GEMINI_3X_FLASH_THINKING_LEVELS
null
null
true
false
17
17
Final[Set[ThinkingLevelType]]
null
{'high', 'medium', 'low', 'minimal'}
null
null
null
Type: attribute Member Name: GEMINI_3X_FLASH_THINKING_LEVELS Qualified Name: fenic.core._inference.model_catalog.GEMINI_3X_FLASH_THINKING_LEVELS Docstring: none Value: {'high', 'medium', 'low', 'minimal'} Annotation: Final[Set[ThinkingLevelType]] is Public? : true is Private? : false Parameters: none Returns: none Pare...
attribute
ANTHROPIC_OPUS_4_7_PLUS_EFFORTS
fenic.core._inference.model_catalog.ANTHROPIC_OPUS_4_7_PLUS_EFFORTS
null
null
true
false
18
18
Final[Set[AnthropicReasoningEffortType]]
null
{'low', 'medium', 'high', 'xhigh', 'max'}
null
null
null
Type: attribute Member Name: ANTHROPIC_OPUS_4_7_PLUS_EFFORTS Qualified Name: fenic.core._inference.model_catalog.ANTHROPIC_OPUS_4_7_PLUS_EFFORTS Docstring: none Value: {'low', 'medium', 'high', 'xhigh', 'max'} Annotation: Final[Set[AnthropicReasoningEffortType]] is Public? : true is Private? : false Parameters: none Re...
attribute
ANTHROPIC_4_6_EFFORTS
fenic.core._inference.model_catalog.ANTHROPIC_4_6_EFFORTS
null
null
true
false
19
19
Final[Set[AnthropicReasoningEffortType]]
null
{'low', 'medium', 'high', 'max'}
null
null
null
Type: attribute Member Name: ANTHROPIC_4_6_EFFORTS Qualified Name: fenic.core._inference.model_catalog.ANTHROPIC_4_6_EFFORTS Docstring: none Value: {'low', 'medium', 'high', 'max'} Annotation: Final[Set[AnthropicReasoningEffortType]] is Public? : true is Private? : false Parameters: none Returns: none Parent Class: non...
attribute
ANTHROPIC_OPUS_4_5_EFFORTS
fenic.core._inference.model_catalog.ANTHROPIC_OPUS_4_5_EFFORTS
null
null
true
false
20
20
Final[Set[AnthropicReasoningEffortType]]
null
{'low', 'medium', 'high'}
null
null
null
Type: attribute Member Name: ANTHROPIC_OPUS_4_5_EFFORTS Qualified Name: fenic.core._inference.model_catalog.ANTHROPIC_OPUS_4_5_EFFORTS Docstring: none Value: {'low', 'medium', 'high'} Annotation: Final[Set[AnthropicReasoningEffortType]] is Public? : true is Private? : false Parameters: none Returns: none Parent Class: ...
class
ModelProvider
fenic.core._inference.model_catalog.ModelProvider
Enum representing different model providers supported by the system.
null
true
false
23
31
null
null
null
null
[ "Enum" ]
null
Type: class Member Name: ModelProvider Qualified Name: fenic.core._inference.model_catalog.ModelProvider Docstring: Enum representing different model providers supported by the system. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
TieredTokenCost
fenic.core._inference.model_catalog.TieredTokenCost
null
null
true
false
34
45
null
null
null
null
[]
null
Type: class Member Name: TieredTokenCost Qualified Name: fenic.core._inference.model_catalog.TieredTokenCost Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
method
__init__
fenic.core._inference.model_catalog.TieredTokenCost.__init__
null
null
true
false
35
45
null
null
null
[ "self", "input_token_cost", "cached_input_token_read_cost", "output_token_cost", "cached_input_token_write_cost" ]
null
TieredTokenCost
Type: method Member Name: __init__ Qualified Name: fenic.core._inference.model_catalog.TieredTokenCost.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "input_token_cost", "cached_input_token_read_cost", "output_token_cost", "cached_input_token_write_cost"...
class
CompletionModelParameters
fenic.core._inference.model_catalog.CompletionModelParameters
Parameters for completion models including costs and context window size. Attributes: input_token_cost: Cost per input token in USD cached_input_token_read_cost: Cost per cached input token read in USD cached_input_token_write_cost: Cost per cached input token write in USD output_token_cost: Cost per o...
null
true
false
47
138
null
null
null
null
[]
null
Type: class Member Name: CompletionModelParameters Qualified Name: fenic.core._inference.model_catalog.CompletionModelParameters Docstring: Parameters for completion models including costs and context window size. Attributes: input_token_cost: Cost per input token in USD cached_input_token_read_cost: Cost per ...
method
__init__
fenic.core._inference.model_catalog.CompletionModelParameters.__init__
null
null
true
false
77
129
null
null
null
[ "self", "input_token_cost", "output_token_cost", "context_window_length", "max_output_tokens", "max_temperature", "cached_input_token_write_cost", "cached_input_token_read_cost", "tiered_token_costs", "supports_profiles", "supports_reasoning", "supports_minimal_reasoning", "supports_disabled...
null
CompletionModelParameters
Type: method Member Name: __init__ Qualified Name: fenic.core._inference.model_catalog.CompletionModelParameters.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "input_token_cost", "output_token_cost", "context_window_length", "max_output_tokens", "max_te...
method
__str__
fenic.core._inference.model_catalog.CompletionModelParameters.__str__
null
null
true
false
131
138
null
null
null
[ "self" ]
null
CompletionModelParameters
Type: method Member Name: __str__ Qualified Name: fenic.core._inference.model_catalog.CompletionModelParameters.__str__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: none Parent Class: CompletionModelParameters
class
EmbeddingModelParameters
fenic.core._inference.model_catalog.EmbeddingModelParameters
Parameters for embedding models including costs and output dimensions. Attributes: input_token_cost: Cost per input token in USD output_dimensions: Number of dimensions in the embedding output max_input_size: Maximum number of tokens in the input string
null
true
false
141
188
null
null
null
null
[]
null
Type: class Member Name: EmbeddingModelParameters Qualified Name: fenic.core._inference.model_catalog.EmbeddingModelParameters Docstring: Parameters for embedding models including costs and output dimensions. Attributes: input_token_cost: Cost per input token in USD output_dimensions: Number of dimensions in t...
method
__init__
fenic.core._inference.model_catalog.EmbeddingModelParameters.__init__
null
null
true
false
150
174
null
null
null
[ "self", "input_token_cost", "allowed_output_dimensions", "max_input_size", "default_dimensionality" ]
null
EmbeddingModelParameters
Type: method Member Name: __init__ Qualified Name: fenic.core._inference.model_catalog.EmbeddingModelParameters.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "input_token_cost", "allowed_output_dimensions", "max_input_size", "default_dimensionality"] Re...
method
get_possible_dimensions
fenic.core._inference.model_catalog.EmbeddingModelParameters.get_possible_dimensions
Get the possible dimensions for the model.
null
true
false
176
181
null
list[int]
null
[ "self" ]
null
EmbeddingModelParameters
Type: method Member Name: get_possible_dimensions Qualified Name: fenic.core._inference.model_catalog.EmbeddingModelParameters.get_possible_dimensions Docstring: Get the possible dimensions for the model. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: list[int] Parent C...
method
supports_dimensions
fenic.core._inference.model_catalog.EmbeddingModelParameters.supports_dimensions
Validate if requested dimensions are supported.
null
true
false
183
188
null
bool
null
[ "self", "requested_dimensions" ]
null
EmbeddingModelParameters
Type: method Member Name: supports_dimensions Qualified Name: fenic.core._inference.model_catalog.EmbeddingModelParameters.supports_dimensions Docstring: Validate if requested dimensions are supported. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "requested_dimensions"] Return...
attribute
CompletionModelCollection
fenic.core._inference.model_catalog.CompletionModelCollection
null
null
true
false
191
191
TypeAlias
null
Dict[str, CompletionModelParameters]
null
null
null
Type: attribute Member Name: CompletionModelCollection Qualified Name: fenic.core._inference.model_catalog.CompletionModelCollection Docstring: none Value: Dict[str, CompletionModelParameters] Annotation: TypeAlias is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
EmbeddingModelCollection
fenic.core._inference.model_catalog.EmbeddingModelCollection
null
null
true
false
192
192
TypeAlias
null
Dict[str, EmbeddingModelParameters]
null
null
null
Type: attribute Member Name: EmbeddingModelCollection Qualified Name: fenic.core._inference.model_catalog.EmbeddingModelCollection Docstring: none Value: Dict[str, EmbeddingModelParameters] Annotation: TypeAlias is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
OpenAILanguageModelName
fenic.core._inference.model_catalog.OpenAILanguageModelName
null
null
true
false
193
234
null
null
Literal['gpt-5.6-sol', 'gpt-5.6-terra', 'gpt-5.6-luna', 'gpt-5.5', 'gpt-5.5-2026-04-23', 'gpt-5.4', 'gpt-5.4-2026-03-05', 'gpt-5.4-mini', 'gpt-5.4-mini-2026-03-17', 'gpt-5.4-nano', 'gpt-5.4-nano-2026-03-17', 'gpt-5.2', 'gpt-5.1', 'gpt-5.1-2025-11-13', 'gpt-5', 'gpt-5-2025-08-07', 'gpt-5-mini', 'gpt-5-mini-2025-08-07', ...
null
null
null
Type: attribute Member Name: OpenAILanguageModelName Qualified Name: fenic.core._inference.model_catalog.OpenAILanguageModelName Docstring: none Value: Literal['gpt-5.6-sol', 'gpt-5.6-terra', 'gpt-5.6-luna', 'gpt-5.5', 'gpt-5.5-2026-04-23', 'gpt-5.4', 'gpt-5.4-2026-03-05', 'gpt-5.4-mini', 'gpt-5.4-mini-2026-03-17', 'gp...
attribute
OpenAIEmbeddingModelName
fenic.core._inference.model_catalog.OpenAIEmbeddingModelName
null
null
true
false
236
238
null
null
Literal['text-embedding-3-small', 'text-embedding-3-large']
null
null
null
Type: attribute Member Name: OpenAIEmbeddingModelName Qualified Name: fenic.core._inference.model_catalog.OpenAIEmbeddingModelName Docstring: none Value: Literal['text-embedding-3-small', 'text-embedding-3-large'] Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
GoogleVertexEmbeddingModelName
fenic.core._inference.model_catalog.GoogleVertexEmbeddingModelName
null
null
true
false
240
246
null
null
Literal['gemini-embedding-2', 'gemini-embedding-2-preview', 'gemini-embedding-001', 'text-multilingual-embedding-002', 'text-embedding-005']
null
null
null
Type: attribute Member Name: GoogleVertexEmbeddingModelName Qualified Name: fenic.core._inference.model_catalog.GoogleVertexEmbeddingModelName Docstring: none Value: Literal['gemini-embedding-2', 'gemini-embedding-2-preview', 'gemini-embedding-001', 'text-multilingual-embedding-002', 'text-embedding-005'] Annotation: n...
attribute
GoogleDeveloperEmbeddingModelName
fenic.core._inference.model_catalog.GoogleDeveloperEmbeddingModelName
null
null
true
false
248
252
null
null
Literal['gemini-embedding-2', 'gemini-embedding-2-preview', 'gemini-embedding-001']
null
null
null
Type: attribute Member Name: GoogleDeveloperEmbeddingModelName Qualified Name: fenic.core._inference.model_catalog.GoogleDeveloperEmbeddingModelName Docstring: none Value: Literal['gemini-embedding-2', 'gemini-embedding-2-preview', 'gemini-embedding-001'] Annotation: none is Public? : true is Private? : false Parameter...
attribute
AnthropicLanguageModelName
fenic.core._inference.model_catalog.AnthropicLanguageModelName
null
null
true
false
254
269
null
null
Literal['claude-fable-5', 'claude-sonnet-5', 'claude-opus-4-8', 'claude-opus-4-7', 'claude-opus-4-6', 'claude-sonnet-4-6', 'claude-opus-4-5', 'claude-opus-4-5-20251101', 'claude-sonnet-4-5', 'claude-sonnet-4-5-20250929', 'claude-haiku-4-5', 'claude-haiku-4-5-20251001', 'claude-opus-4-1', 'claude-opus-4-1-20250805']
null
null
null
Type: attribute Member Name: AnthropicLanguageModelName Qualified Name: fenic.core._inference.model_catalog.AnthropicLanguageModelName Docstring: none Value: Literal['claude-fable-5', 'claude-sonnet-5', 'claude-opus-4-8', 'claude-opus-4-7', 'claude-opus-4-6', 'claude-sonnet-4-6', 'claude-opus-4-5', 'claude-opus-4-5-202...
attribute
CohereEmbeddingModelName
fenic.core._inference.model_catalog.CohereEmbeddingModelName
null
null
true
false
271
277
null
null
Literal['embed-v4.0', 'embed-english-v3.0', 'embed-english-light-v3.0', 'embed-multilingual-v3.0', 'embed-multilingual-light-v3.0']
null
null
null
Type: attribute Member Name: CohereEmbeddingModelName Qualified Name: fenic.core._inference.model_catalog.CohereEmbeddingModelName Docstring: none Value: Literal['embed-v4.0', 'embed-english-v3.0', 'embed-english-light-v3.0', 'embed-multilingual-v3.0', 'embed-multilingual-light-v3.0'] Annotation: none is Public? : true...
attribute
GoogleDeveloperLanguageModelName
fenic.core._inference.model_catalog.GoogleDeveloperLanguageModelName
null
null
true
false
280
289
null
null
Literal['gemini-3.5-flash', 'gemini-3.1-pro-preview', 'gemini-3.1-pro-preview-customtools', 'gemini-3.1-flash-lite', 'gemini-3-flash-preview', 'gemini-2.5-pro', 'gemini-2.5-flash', 'gemini-2.5-flash-lite']
null
null
null
Type: attribute Member Name: GoogleDeveloperLanguageModelName Qualified Name: fenic.core._inference.model_catalog.GoogleDeveloperLanguageModelName Docstring: none Value: Literal['gemini-3.5-flash', 'gemini-3.1-pro-preview', 'gemini-3.1-pro-preview-customtools', 'gemini-3.1-flash-lite', 'gemini-3-flash-preview', 'gemini...
attribute
GoogleVertexLanguageModelName
fenic.core._inference.model_catalog.GoogleVertexLanguageModelName
null
null
true
false
290
290
null
null
GoogleDeveloperLanguageModelName
null
null
null
Type: attribute Member Name: GoogleVertexLanguageModelName Qualified Name: fenic.core._inference.model_catalog.GoogleVertexLanguageModelName Docstring: none Value: GoogleDeveloperLanguageModelName Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
ProviderModelCollection
fenic.core._inference.model_catalog.ProviderModelCollection
A collection of models for a specific provider. This class maintains a collection of models for a specific provider, including their costs, context windows, and other parameters. It provides methods to query model information and calculate costs for different operations.
null
true
false
293
340
null
null
null
null
[]
null
Type: class Member Name: ProviderModelCollection Qualified Name: fenic.core._inference.model_catalog.ProviderModelCollection Docstring: A collection of models for a specific provider. This class maintains a collection of models for a specific provider, including their costs, context windows, and other parameters. It p...
method
__init__
fenic.core._inference.model_catalog.ProviderModelCollection.__init__
null
null
true
false
302
305
null
None
null
[ "self", "provider" ]
null
ProviderModelCollection
Type: method Member Name: __init__ Qualified Name: fenic.core._inference.model_catalog.ProviderModelCollection.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "provider"] Returns: None Parent Class: ProviderModelCollection
method
add_model
fenic.core._inference.model_catalog.ProviderModelCollection.add_model
null
null
true
false
308
340
null
null
null
[ "self", "name", "parameters", "snapshots" ]
null
ProviderModelCollection
Type: method Member Name: add_model Qualified Name: fenic.core._inference.model_catalog.ProviderModelCollection.add_model Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "name", "parameters", "snapshots"] Returns: none Parent Class: ProviderModelCollection
class
ModelCatalog
fenic.core._inference.model_catalog.ModelCatalog
Catalog of supported models and their parameters for different providers. This class maintains a registry of all supported models across different providers, including their costs, context windows, and other parameters. It provides methods to query model information and calculate costs for different operations.
null
true
false
343
1,728
null
null
null
null
[]
null
Type: class Member Name: ModelCatalog Qualified Name: fenic.core._inference.model_catalog.ModelCatalog Docstring: Catalog of supported models and their parameters for different providers. This class maintains a registry of all supported models across different providers, including their costs, context windows, and oth...
method
__init__
fenic.core._inference.model_catalog.ModelCatalog.__init__
null
null
true
false
351
364
null
null
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: __init__ Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: none Parent Class: ModelCatalog
method
_initialize_models
fenic.core._inference.model_catalog.ModelCatalog._initialize_models
Initialize all models in the catalog using the new API.
null
false
true
366
372
null
null
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: _initialize_models Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._initialize_models Docstring: Initialize all models in the catalog using the new API. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self"] Returns: none Parent Class: ModelCat...
method
_initialize_anthropic_models
fenic.core._inference.model_catalog.ModelCatalog._initialize_anthropic_models
Initialize Anthropic models in the catalog.
null
false
true
374
540
null
null
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: _initialize_anthropic_models Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._initialize_anthropic_models Docstring: Initialize Anthropic models in the catalog. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self"] Returns: none Parent Class: ...
method
_initialize_openai_models
fenic.core._inference.model_catalog.ModelCatalog._initialize_openai_models
Initialize OpenAI models in the catalog.
null
false
true
542
1,011
null
null
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: _initialize_openai_models Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._initialize_openai_models Docstring: Initialize OpenAI models in the catalog. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self"] Returns: none Parent Class: ModelCata...
method
_initialize_google_vertex_models
fenic.core._inference.model_catalog.ModelCatalog._initialize_google_vertex_models
Initialize the Google Vertex Models.
null
false
true
1,013
1,203
null
null
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: _initialize_google_vertex_models Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._initialize_google_vertex_models Docstring: Initialize the Google Vertex Models. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self"] Returns: none Parent Class:...
method
_initialize_google_gla_models
fenic.core._inference.model_catalog.ModelCatalog._initialize_google_gla_models
Initialize Google models in the catalog.
null
false
true
1,205
1,373
null
null
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: _initialize_google_gla_models Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._initialize_google_gla_models Docstring: Initialize Google models in the catalog. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self"] Returns: none Parent Class: M...
method
_initialize_cohere_models
fenic.core._inference.model_catalog.ModelCatalog._initialize_cohere_models
Initialize Cohere models in the catalog.
null
false
true
1,375
1,431
null
null
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: _initialize_cohere_models Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._initialize_cohere_models Docstring: Initialize Cohere models in the catalog. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self"] Returns: none Parent Class: ModelCata...
method
get_completion_model_parameters
fenic.core._inference.model_catalog.ModelCatalog.get_completion_model_parameters
Gets the parameters for a specific completion model. Args: model_provider: The provider of the model model_name: The name of the model Returns: Model parameters if found, None otherwise
null
true
false
1,434
1,445
null
CompletionModelParameters | None
null
[ "self", "model_provider", "model_name" ]
null
ModelCatalog
Type: method Member Name: get_completion_model_parameters Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.get_completion_model_parameters Docstring: Gets the parameters for a specific completion model. Args: model_provider: The provider of the model model_name: The name of the model Returns: ...
method
get_embedding_model_parameters
fenic.core._inference.model_catalog.ModelCatalog.get_embedding_model_parameters
Gets the parameters for a specific embedding model. Args: model_provider: The provider of the model model_name: The name of the model Returns: Model parameters if found, None otherwise
null
true
false
1,447
1,457
null
EmbeddingModelParameters | None
null
[ "self", "model_provider", "model_name" ]
null
ModelCatalog
Type: method Member Name: get_embedding_model_parameters Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.get_embedding_model_parameters Docstring: Gets the parameters for a specific embedding model. Args: model_provider: The provider of the model model_name: The name of the model Returns: ...
method
generate_unsupported_completion_model_error_message
fenic.core._inference.model_catalog.ModelCatalog.generate_unsupported_completion_model_error_message
Generates an error message for unsupported completion models. Args: model_provider: The provider of the unsupported model model_name: The name of the unsupported model Returns: Error message string
null
true
false
1,459
1,471
null
str
null
[ "self", "model_provider", "model_name" ]
null
ModelCatalog
Type: method Member Name: generate_unsupported_completion_model_error_message Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.generate_unsupported_completion_model_error_message Docstring: Generates an error message for unsupported completion models. Args: model_provider: The provider of the unsup...
method
generate_unsupported_embedding_model_error_message
fenic.core._inference.model_catalog.ModelCatalog.generate_unsupported_embedding_model_error_message
Generates an error message for unsupported embedding models. Args: model_provider: The provider of the unsupported model model_name: The name of the unsupported model Returns: Error message string
null
true
false
1,473
1,484
null
str
null
[ "self", "model_provider", "model_name" ]
null
ModelCatalog
Type: method Member Name: generate_unsupported_embedding_model_error_message Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.generate_unsupported_embedding_model_error_message Docstring: Generates an error message for unsupported embedding models. Args: model_provider: The provider of the unsuppor...
method
get_supported_completions_models_as_string
fenic.core._inference.model_catalog.ModelCatalog.get_supported_completions_models_as_string
Returns a comma-separated string of all supported completion models. Returns: Comma-separated string of model names in format 'provider:model'
null
true
false
1,486
1,496
null
str
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: get_supported_completions_models_as_string Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.get_supported_completions_models_as_string Docstring: Returns a comma-separated string of all supported completion models. Returns: Comma-separated string of model names in format '...
method
get_models_for_criteria
fenic.core._inference.model_catalog.ModelCatalog.get_models_for_criteria
Returns a comma-separated string of all models that match the given criteria. Args: criteria: A function that takes CompletionModelParameters and returns True if the model matches Returns: Comma-separated string of model names
null
true
false
1,498
1,512
null
str
null
[ "self", "criteria" ]
null
ModelCatalog
Type: method Member Name: get_models_for_criteria Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.get_models_for_criteria Docstring: Returns a comma-separated string of all models that match the given criteria. Args: criteria: A function that takes CompletionModelParameters and returns True if the...
method
get_supported_embeddings_models_as_string
fenic.core._inference.model_catalog.ModelCatalog.get_supported_embeddings_models_as_string
Returns a comma-separated string of all supported embedding models. Returns: Comma-separated string of model names
null
true
false
1,514
1,524
null
str
null
[ "self" ]
null
ModelCatalog
Type: method Member Name: get_supported_embeddings_models_as_string Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.get_supported_embeddings_models_as_string Docstring: Returns a comma-separated string of all supported embedding models. Returns: Comma-separated string of model names Value: none An...
method
calculate_completion_model_cost
fenic.core._inference.model_catalog.ModelCatalog.calculate_completion_model_cost
Calculates the total cost for a completion model operation. Args: model_provider: The provider of the model model_name: The name of the model uncached_input_tokens: Number of uncached input tokens cached_input_tokens_read: Number of cached input tokens read output_tokens: Number of output tokens ...
null
true
false
1,526
1,571
null
float
null
[ "self", "model_provider", "model_name", "uncached_input_tokens", "cached_input_tokens_read", "output_tokens", "cached_input_tokens_written" ]
null
ModelCatalog
Type: method Member Name: calculate_completion_model_cost Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.calculate_completion_model_cost Docstring: Calculates the total cost for a completion model operation. Args: model_provider: The provider of the model model_name: The name of the model ...
method
calculate_embedding_model_cost
fenic.core._inference.model_catalog.ModelCatalog.calculate_embedding_model_cost
Calculates the total cost for an embedding model operation. Args: model_provider: The provider of the model model_name: The name of the model billable_inputs: Number of tokens or characters to embed (some Google models charge per character) Returns: Total cost in USD Raises: ValueError: If the mo...
null
true
false
1,573
1,596
null
float
null
[ "self", "model_provider", "model_name", "billable_inputs" ]
null
ModelCatalog
Type: method Member Name: calculate_embedding_model_cost Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.calculate_embedding_model_cost Docstring: Calculates the total cost for an embedding model operation. Args: model_provider: The provider of the model model_name: The name of the model b...
method
_add_model_to_catalog
fenic.core._inference.model_catalog.ModelCatalog._add_model_to_catalog
A helper method to add a model to the catalog, adding it to the appropriate provider collection. Args: model_provider: The provider of the model name: The name of the model parameters: The parameters of the model snapshots: The optional list of snapshot names for the model Raises: InternalError: I...
null
false
true
1,598
1,620
null
null
null
[ "self", "model_provider", "name", "parameters", "snapshots" ]
null
ModelCatalog
Type: method Member Name: _add_model_to_catalog Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._add_model_to_catalog Docstring: A helper method to add a model to the catalog, adding it to the appropriate provider collection. Args: model_provider: The provider of the model name: The name of th...
method
add_model
fenic.core._inference.model_catalog.ModelCatalog.add_model
null
null
true
false
1,623
1,636
null
None
null
[ "self", "model_provider", "name", "parameters", "snapshots" ]
null
ModelCatalog
Type: method Member Name: add_model Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.add_model Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "model_provider", "name", "parameters", "snapshots"] Returns: None Parent Class: ModelCatalog
method
register_dynamic_provider
fenic.core._inference.model_catalog.ModelCatalog.register_dynamic_provider
Register a one-time loader that populates models on first request. The loader should synchronously call add_model() for each model to register.
null
true
false
1,638
1,645
null
None
null
[ "self", "model_provider", "loader" ]
null
ModelCatalog
Type: method Member Name: register_dynamic_provider Qualified Name: fenic.core._inference.model_catalog.ModelCatalog.register_dynamic_provider Docstring: Register a one-time loader that populates models on first request. The loader should synchronously call add_model() for each model to register. Value: none Annotatio...
method
_get_supported_completions_models_by_provider
fenic.core._inference.model_catalog.ModelCatalog._get_supported_completions_models_by_provider
Returns the collection of completion models for a specific provider. Args: model_provider: The provider to get models for Returns: Collection of completion models for the specified provider, including snapshots
null
false
true
1,647
1,677
null
CompletionModelCollection
null
[ "self", "model_provider" ]
null
ModelCatalog
Type: method Member Name: _get_supported_completions_models_by_provider Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._get_supported_completions_models_by_provider Docstring: Returns the collection of completion models for a specific provider. Args: model_provider: The provider to get models for...
method
_get_supported_embeddings_models_by_provider
fenic.core._inference.model_catalog.ModelCatalog._get_supported_embeddings_models_by_provider
Returns the collection of embedding models for a specific provider. Args: model_provider: The provider to get models for Returns: Collection of embedding models for the specified provider, including snapshots
null
false
true
1,679
1,690
null
EmbeddingModelCollection
null
[ "self", "model_provider" ]
null
ModelCatalog
Type: method Member Name: _get_supported_embeddings_models_by_provider Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._get_supported_embeddings_models_by_provider Docstring: Returns the collection of embedding models for a specific provider. Args: model_provider: The provider to get models for R...
method
_get_supported_completions_models_by_provider_as_string
fenic.core._inference.model_catalog.ModelCatalog._get_supported_completions_models_by_provider_as_string
Returns a comma-separated string of supported completion model names for a provider. Args: model_provider: The provider to get model names for Returns: Comma-separated string of model names
null
false
true
1,692
1,709
null
str
null
[ "self", "model_provider" ]
null
ModelCatalog
Type: method Member Name: _get_supported_completions_models_by_provider_as_string Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._get_supported_completions_models_by_provider_as_string Docstring: Returns a comma-separated string of supported completion model names for a provider. Args: model_prov...
method
_get_supported_embeddings_models_by_provider_as_string
fenic.core._inference.model_catalog.ModelCatalog._get_supported_embeddings_models_by_provider_as_string
Returns a comma-separated string of supported completion model names for a provider. Args: model_provider: The provider to get model names for Returns: Comma-separated string of model names
null
false
true
1,711
1,728
null
str
null
[ "self", "model_provider" ]
null
ModelCatalog
Type: method Member Name: _get_supported_embeddings_models_by_provider_as_string Qualified Name: fenic.core._inference.model_catalog.ModelCatalog._get_supported_embeddings_models_by_provider_as_string Docstring: Returns a comma-separated string of supported completion model names for a provider. Args: model_provid...
attribute
model_catalog
fenic.core._inference.model_catalog.model_catalog
null
null
true
false
1,732
1,732
null
null
ModelCatalog()
null
null
null
Type: attribute Member Name: model_catalog Qualified Name: fenic.core._inference.model_catalog.model_catalog Docstring: none Value: ModelCatalog() Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
module
mcp
fenic.core.mcp
MCP Tool Generation/FastMCP Server Management.
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/mcp/__init__.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: mcp Qualified Name: fenic.core.mcp Docstring: MCP Tool Generation/FastMCP Server Management. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none