Skip to main content

Small selection of utilities for python ai processes

Project description

    flowchart TD

        %% Nodes
        UserMessage("User Message")
        Clasification("Classification")
        ContextFound{"Context Found"}
        NoContextInferece("No Context Inference")
        ContextHasRequirements{"Context Has Requirements"}
        AddNoContextSystemMessage("Add No Context System Message")
        AddEmptyContextSystemMessate("Add Empty Context System Message")
        AllContextFieldsFilled{"All Context Fields Filled"}
        ContextHasAction{"Context Has Action"}
        ExtractRequirementsFromConversation("Extract Requirements From Conversation")
        CheckForAllContextFilledAfterExtraction{"Check for All Context Filled After Extraction"}
        GenerateConfirmationMessage("Generate Confirmation Message")
        ContextNeedsConfirmation{"Context Needs Confirmation"}
        AskForRequirements("Ask for Requirements")
        UserMessageIsConfirmationMessage{"User Message is Confirmation Message"}
        ExecuteContextAction("Execute Context Action")
        AddSystemMessageBasedOnResponsePayload("Add System Message Based On Payload Response")
        CleanMemoryAndFinalizeContext("Clean Memory And Finalize Context")

        %% Edge connections between nodes
        UserMessage --> Clasification --> ContextFound
        ContextFound -->|No | NoContextInferece
        NoContextInferece --> AddNoContextSystemMessage
        ContextFound -->|Yes | ContextHasRequirements
        ContextHasRequirements -->|Yes | AllContextFieldsFilled
        AllContextFieldsFilled --> |No | ExtractRequirementsFromConversation --> CheckForAllContextFilledAfterExtraction --> |No | AskForRequirements
        AllContextFieldsFilled -->|Yes | ContextNeedsConfirmation
        CheckForAllContextFilledAfterExtraction -->|Yes | ContextNeedsConfirmation
        ContextNeedsConfirmation --> |Yes | UserMessageIsConfirmationMessage --> |No | GenerateConfirmationMessage
        UserMessageIsConfirmationMessage --> |Yes | ContextHasAction --> |Yes | ExecuteContextAction --> AddSystemMessageBasedOnResponsePayload --> CleanMemoryAndFinalizeContext
        ContextHasAction --> |No | AddEmptyContextSystemMessate
        
        ContextHasRequirements -->|No | ContextHasAction

        %% Node Styling
        style UserMessage fill:#0000FF, stroke:#FF5722, color:#FFFFFF
        style AddNoContextSystemMessage fill:#FF5722, stroke:#FF5722, color:#FFFFFF
        style AskForRequirements fill:#FF5722, stroke:#FF5722, color:#FFFFFF
        style GenerateConfirmationMessage fill:#FF5722, stroke:#FF5722, color:#FFFFFF
        style CleanMemoryAndFinalizeContext fill:#FF5722, stroke:#FF5722, color:#FFFFFF
        style AddEmptyContextSystemMessate fill:#FF5722, stroke:#FF5722, color:#FFFFFF

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leonbonetti_fast_mcp-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

leonbonetti_fast_mcp-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file leonbonetti_fast_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: leonbonetti_fast_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for leonbonetti_fast_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d640e45620af85d267e80990f1e0de4b9d194b79e8d6e42d239d4d2019b2bb21
MD5 ee9226dd43b617011bfc1205d57777aa
BLAKE2b-256 4f1429874f0b5e2f93191d29f0243c375802a97e63094294187d100ecaa5d124

See more details on using hashes here.

File details

Details for the file leonbonetti_fast_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for leonbonetti_fast_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28d7fb8926473ee9022eaafad871126a2f4aa33ba7264e04ca9b9c81da37fe4e
MD5 c645e605f9813fff1b6e6a0aae38cf03
BLAKE2b-256 aba41b6a55d408711adf5778320296768c520fdcff3cfc999491421cb56501c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page