abacusai.constants_autocomplete_response ======================================== .. py:module:: abacusai.constants_autocomplete_response Classes ------- .. autoapisummary:: abacusai.constants_autocomplete_response.ConstantsAutocompleteResponse Module Contents --------------- .. py:class:: ConstantsAutocompleteResponse(client, maxPendingRequests=None, acceptanceDelay=None, debounceDelay=None, recordUserAction=None, validateSuggestion=None, validationLinesThreshold=None, maxTrackedRecentChanges=None, diffThreshold=None, derivativeThreshold=None, defaultSurroundingLines=None, maxTrackedVisitChanges=None, selectionCooldownMs=None, viewingCooldownMs=None, maxLines=None, editCooldownMs=None, scrollDebounceMs=None, lspDeadline=None, diagnosticsThreshold=None, diagnosticEachThreshold=None, numVsCodeSuggestions=None, minReindexingInterval=None, minRefreshSummaryInterval=None, summaryBatchSize=None, jobReorderInterval=None, stopRapidChanges=None, delaySummaryBatches=None, delaySummaryBatchesRateLimit=None, maxSymbolsFuzzyMatch=None, fuzzySymbolMatchThreshold=None, symbolsCacheUpdateInterval=None, symbolsStorageUpdateInterval=None, editPredictionSimilarityThreshold=None, minSearchWordLength=None, maxOccurrencesPerWord=None, maxWordsContentMatches=None, editPredictionEnabled=None, snapshotIntervalMs=None, linesForSnapshot=None, embeddingConstants=None) Bases: :py:obj:`abacusai.return_class.AbstractApiClass` A dictionary of constants to be used in the autocomplete. :param client: An authenticated API Client instance :type client: ApiClient :param maxPendingRequests: The maximum number of pending requests. :type maxPendingRequests: int :param acceptanceDelay: The acceptance delay. :type acceptanceDelay: int :param debounceDelay: The debounce delay. :type debounceDelay: int :param recordUserAction: Whether to record user action. :type recordUserAction: bool :param validateSuggestion: Whether to validate the suggestion. :type validateSuggestion: bool :param validationLinesThreshold: The number of lines to validate the suggestion. :type validationLinesThreshold: int :param maxTrackedRecentChanges: The maximum number of recent file changes to track. :type maxTrackedRecentChanges: int :param diffThreshold: The diff operations threshold. :type diffThreshold: int :param derivativeThreshold: The derivative threshold for deletions :type derivativeThreshold: int :param defaultSurroundingLines: The default number of surrounding lines to include in the recently visited context. :type defaultSurroundingLines: int :param maxTrackedVisitChanges: The maximum number of recently visited ranges to track. :type maxTrackedVisitChanges: int :param selectionCooldownMs: The cooldown time in milliseconds for selection changes. :type selectionCooldownMs: int :param viewingCooldownMs: The cooldown time in milliseconds for viewing changes. :type viewingCooldownMs: int :param maxLines: The maximum number of lines to include in recently visited context. :type maxLines: int :param editCooldownMs: The cooldown time in milliseconds after last edit. :type editCooldownMs: int :param scrollDebounceMs: The debounce time in milliseconds for scroll events. :type scrollDebounceMs: int :param lspDeadline: The deadline in milliseconds for LSP context. :type lspDeadline: int :param diagnosticsThreshold: The max number of diagnostics to show. :type diagnosticsThreshold: int :param diagnosticEachThreshold: The max number of characters to show for each diagnostic type. :type diagnosticEachThreshold: int :param numVsCodeSuggestions: The number of VS Code suggestions to show. :type numVsCodeSuggestions: int :param minReindexingInterval: The minimum interval between reindexes in ms. :type minReindexingInterval: int :param minRefreshSummaryInterval: The minimum interval between refresh summary in ms. :type minRefreshSummaryInterval: int :param summaryBatchSize: The batch size for code summary in autocomplete. :type summaryBatchSize: int :param jobReorderInterval: The interval in ms to reorder jobs in the job queue for summary. :type jobReorderInterval: int :param stopRapidChanges: Whether to stop rapid changes in autocomplete. :type stopRapidChanges: bool :param delaySummaryBatches: The delay in ms between summary batches. :type delaySummaryBatches: int :param delaySummaryBatchesRateLimit: The delay in ms in case of rate limit for delay summary batches. :type delaySummaryBatchesRateLimit: int :param maxSymbolsFuzzyMatch: The max number of symbols to fuzzy match. :type maxSymbolsFuzzyMatch: int :param fuzzySymbolMatchThreshold: The threshold for fuzzy symbol match. :type fuzzySymbolMatchThreshold: int :param symbolsCacheUpdateInterval: The interval in ms to update the symbols cache. :type symbolsCacheUpdateInterval: int :param symbolsStorageUpdateInterval: The interval in ms to update the symbols storage. :type symbolsStorageUpdateInterval: int :param editPredictionSimilarityThreshold: The threshold for edit prediction similarity. :type editPredictionSimilarityThreshold: int :param minSearchWordLength: The minimum length of the word to be searched. :type minSearchWordLength: int :param maxOccurrencesPerWord: The maximum occurrences of a particular search word present in the file. :type maxOccurrencesPerWord: int :param maxWordsContentMatches: The maximum number of content matches from the client. :type maxWordsContentMatches: int :param editPredictionEnabled: Whether to enable edit prediction. :type editPredictionEnabled: bool :param snapshotIntervalMs: The interval in ms to snapshot the file for recent file changes. :type snapshotIntervalMs: int :param linesForSnapshot: Limit of max number of lines to snapshot for recent file changes. :type linesForSnapshot: int :param embeddingConstants: Embedding constants :type embeddingConstants: codellmembeddingconstants .. py:attribute:: max_pending_requests :value: None .. py:attribute:: acceptance_delay :value: None .. py:attribute:: debounce_delay :value: None .. py:attribute:: record_user_action :value: None .. py:attribute:: validate_suggestion :value: None .. py:attribute:: validation_lines_threshold :value: None .. py:attribute:: max_tracked_recent_changes :value: None .. py:attribute:: diff_threshold :value: None .. py:attribute:: derivative_threshold :value: None .. py:attribute:: default_surrounding_lines :value: None .. py:attribute:: max_tracked_visit_changes :value: None .. py:attribute:: selection_cooldown_ms :value: None .. py:attribute:: viewing_cooldown_ms :value: None .. py:attribute:: max_lines :value: None .. py:attribute:: edit_cooldown_ms :value: None .. py:attribute:: scroll_debounce_ms :value: None .. py:attribute:: lsp_deadline :value: None .. py:attribute:: diagnostics_threshold :value: None .. py:attribute:: diagnostic_each_threshold :value: None .. py:attribute:: num_vs_code_suggestions :value: None .. py:attribute:: min_reindexing_interval :value: None .. py:attribute:: min_refresh_summary_interval :value: None .. py:attribute:: summary_batch_size :value: None .. py:attribute:: job_reorder_interval :value: None .. py:attribute:: stop_rapid_changes :value: None .. py:attribute:: delay_summary_batches :value: None .. py:attribute:: delay_summary_batches_rate_limit :value: None .. py:attribute:: max_symbols_fuzzy_match :value: None .. py:attribute:: fuzzy_symbol_match_threshold :value: None .. py:attribute:: symbols_cache_update_interval :value: None .. py:attribute:: symbols_storage_update_interval :value: None .. py:attribute:: edit_prediction_similarity_threshold :value: None .. py:attribute:: min_search_word_length :value: None .. py:attribute:: max_occurrences_per_word :value: None .. py:attribute:: max_words_content_matches :value: None .. py:attribute:: edit_prediction_enabled :value: None .. py:attribute:: snapshot_interval_ms :value: None .. py:attribute:: lines_for_snapshot :value: None .. py:attribute:: embedding_constants :value: None .. py:attribute:: deprecated_keys .. py:method:: __repr__() .. py:method:: to_dict() Get a dict representation of the parameters in this class :returns: The dict value representation of the class parameters :rtype: dict