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.1.tar.gz (9.2 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.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: leonbonetti_fast_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 9.2 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.1.tar.gz
Algorithm Hash digest
SHA256 86b3777a0bf0768b541866b6ce679d12d2f50d8c6b12929b60a9725506ffac83
MD5 77cd2d56e564b55d0e7e136c70fb4848
BLAKE2b-256 32e8673e38784a9c5138267a86e293642e1659819832a0815b926b7732e43a13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leonbonetti_fast_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8a207517b501f19883c67f5b8d1a02b53745412ba9175c59fb6691055c54c3f
MD5 776e1048cca09edb98c29c9f75f7648b
BLAKE2b-256 b0aef551fb0107640412e983935c4ea4047f309bbca0137f0f5c31281989b364

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