futureagi 0.5.2__tar.gz → 0.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {futureagi-0.5.2 → futureagi-0.5.3}/PKG-INFO +1 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/evals/protect.py +10 -9
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/__init__.py +0 -15
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/_stream.py +0 -23
- {futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai → futureagi-0.5.3/fi/integrations/otel/frameworks/anthropic}/_utils.py +17 -8
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/_with_span.py +0 -19
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/_wrappers.py +16 -30
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/anthropic_examples.py +31 -10
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/chat_completions.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/end_to_end_tool_use.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/multiple_tool_calling.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/sync_completions.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/sync_messages.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/_wrappers.py +0 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/examples/bedrock_1.py +12 -10
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/examples/bedrock_2.py +14 -6
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/examples/bedrock_converse.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/examples/bedrock_multimodal.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/crewai/_wrappers.py +47 -2
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/crewai/examples/crew_ai.py +18 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/__init__.py +72 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/examples/dspy_basic_qa.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/examples/lm.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/examples/rag_module.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/_request_attributes_extractor.py +10 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/_response_attributes_extractor.py +14 -4
- futureagi-0.5.3/fi/integrations/otel/frameworks/groq/_utils.py +216 -0
- futureagi-0.5.3/fi/integrations/otel/frameworks/groq/_wrappers.py +407 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/examples/async_chat_completions.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/examples/chat_completions.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/examples/chat_completions_with_tool.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/building_fallbacks_with_conditional_routing.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/cohere_reranker.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/filtering_documents_with_metadata.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/haystack_rag_pipeline.py +2 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/qa_rag_pipeline.py +2 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/tool_calling.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/web_questions.py +1 -0
- futureagi-0.5.3/fi/integrations/otel/frameworks/instructor/_wrappers.py +281 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/instructor/examples/test_instructor.py +30 -15
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/chain_metadata.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/chat_prompt_template.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/custom_retriever.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/exchange_rate_tool.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/langgraph_agent_supervisor.py +1 -0
- futureagi-0.5.3/fi/integrations/otel/frameworks/langchain/examples/language_agent_tree_search.py +340 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/multimodal.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/openai_chat_stream.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/pathway_retriever.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/rag.py +45 -16
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/sqlagent.py +3 -0
- futureagi-0.5.3/fi/integrations/otel/frameworks/langchain/examples/tool_calling_agent.py +300 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/litellm/__init__.py +251 -21
- futureagi-0.5.3/fi/integrations/otel/frameworks/litellm/examples/litellm_test.py +138 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/_handler.py +117 -15
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/agent_calculator_tools.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/chat_engine_stream.py +3 -5
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/chroma_query_engine.py +1 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/ingestion_pipeline.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/multimodal_stream_chat.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/openai_stream_chat.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/text_to_sql.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/workflow.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/_chat_wrapper.py +35 -22
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/_response_accumulator.py +24 -17
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/_stream.py +39 -33
- futureagi-0.5.3/fi/integrations/otel/frameworks/mistralai/_utils.py +173 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/examples/agent_completions.py +2 -1
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/examples/chat_completions.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/examples/chat_completions_async.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/examples/chat_completions_async_streaming.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/examples/chat_completions_streaming.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/_request.py +48 -75
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/_response_accumulator.py +39 -17
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/_span_io_handler.py +18 -6
- futureagi-0.5.3/fi/integrations/otel/frameworks/openai/_stream.py +180 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/_utils.py +19 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_async_stream.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_async_stream_with_raw_response.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_multimodal.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_stream.py +2 -2
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_stream_with_raw_response.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_with_function_calling.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_with_raw_response.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/chat_completions_with_streaming_response.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/embeddings.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/openai_tool.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/audio_transcription.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/audio_understanding.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/basic_generation.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/chat.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/document_understanding.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/function_calling.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/image_from_cloud_storage.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/system_instructions.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/vertexai.model.count_tokens.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/vertexai.model.generate_content.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/video_and_audio_understanding.py +1 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/otel.py +77 -11
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/settings.py +19 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/types.py +4 -6
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/prompt/client.py +54 -12
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/test/eval_tags.py +0 -5
- {futureagi-0.5.2 → futureagi-0.5.3}/pyproject.toml +1 -1
- futureagi-0.5.2/fi/api/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/auth.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/auth.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/auth.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/types.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/types.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/api/__pycache__/types.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/datasets/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/datasets/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/datasets/__pycache__/client.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/datasets/__pycache__/client.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/datasets/__pycache__/types.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/datasets/__pycache__/types.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/evaluator.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/evaluator.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/evaluator.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/protect.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/protect.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/templates.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/templates.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/templates.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/types.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/types.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/evals/__pycache__/types.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/integrations/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/otel.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/otel.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/settings.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/settings.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/types.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/__pycache__/types.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_stream.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_stream.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_utils.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_utils.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_with_span.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_with_span.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_wrappers.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/_wrappers.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/anthropic/_utils.py +0 -108
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__generated__/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__generated__/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__generated__/anthropic/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__generated__/anthropic/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__generated__/anthropic/__pycache__/_types.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__generated__/anthropic/__pycache__/_types.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/_proxy.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/_proxy.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/_wrappers.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/_wrappers.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/utils/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/utils/anthropic/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/utils/anthropic/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/utils/anthropic/__pycache__/_messages.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/bedrock/utils/anthropic/__pycache__/_messages.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/crewai/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/crewai/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/crewai/__pycache__/_wrappers.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/crewai/__pycache__/_wrappers.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/crewai/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/crewai/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/dspy/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/dspy/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/dspy/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/dspy/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/dspy/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/dspy/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_request_attributes_extractor.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_request_attributes_extractor.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_response_attributes_extractor.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_response_attributes_extractor.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_utils.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_utils.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_with_span.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_with_span.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_wrappers.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/_wrappers.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/_utils.py +0 -95
- futureagi-0.5.2/fi/integrations/otel/frameworks/groq/_wrappers.py +0 -266
- futureagi-0.5.2/fi/integrations/otel/frameworks/haystack/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/haystack/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/haystack/__pycache__/_wrappers.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/haystack/__pycache__/_wrappers.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/haystack/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/haystack/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/instructor/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/instructor/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/instructor/__pycache__/_wrappers.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/instructor/__pycache__/_wrappers.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/instructor/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/instructor/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/instructor/_wrappers.py +0 -249
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/_tracer.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/_tracer.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/langchain/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/litellm/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/litellm/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/litellm/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/litellm/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/litellm/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/litellm/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/litellm/examples/litellm_test.py +0 -98
- futureagi-0.5.2/fi/integrations/otel/frameworks/llama_index/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/llama_index/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/llama_index/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/llama_index/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/llama_index/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/llama_index/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_chat_wrapper.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_chat_wrapper.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_request_attributes_extractor.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_request_attributes_extractor.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_response_accumulator.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_response_accumulator.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_response_attributes_extractor.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_response_attributes_extractor.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_stream.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_stream.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_utils.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_utils.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_with_span.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/_with_span.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/mistralai/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_request.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_request.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_request_attributes_extractor.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_request_attributes_extractor.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_response_accumulator.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_response_accumulator.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_response_attributes_extractor.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_response_attributes_extractor.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_span_io_handler.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_span_io_handler.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_stream.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_stream.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_utils.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_utils.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_with_span.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/_with_span.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/openai/_stream.py +0 -204
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/_instrumentation_status.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/_instrumentation_status.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/package.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/package.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/version.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/frameworks/vertexai/__pycache__/version.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/config.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/config.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/context_attributes.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/context_attributes.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/helpers.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/helpers.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/logging.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/otel/instrumentation/__pycache__/logging.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/providers/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/integrations/providers/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/providers/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/integrations/providers/__pycache__/types.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/integrations/providers/__pycache__/types.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/integrations/providers/__pycache__/types.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/prompt/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/prompt/__pycache__/client.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/prompt/__pycache__/types.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/test/__pycache__/eval_tags.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/test/__pycache__/eval_tags.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/conversational_test_case.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/conversational_test_case.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/conversational_test_case.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/general.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/general.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/general.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/llm_test_case.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/llm_test_case.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/llm_test_case.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/mllm_test_case.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/mllm_test_case.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/testcases/__pycache__/mllm_test_case.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/__init__.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/__init__.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/constants.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/constants.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/constants.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/errors.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/errors.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/errors.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/executor.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/executor.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/executor.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/logging.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/logging.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/logging.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/routes.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/routes.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/routes.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/types.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/types.cpython-312.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/types.cpython-313.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/utils.cpython-310.pyc +0 -0
- futureagi-0.5.2/fi/utils/__pycache__/utils.cpython-313.pyc +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/LICENSE.md +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/README.md +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/api/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/api/apikeys.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/api/auth.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/api/types.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/client.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/datasets/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/datasets/client.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/datasets/types.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/evals/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/evals/evaluator.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/evals/templates.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/evals/types.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/anthropic.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/anthropic/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/__generated__/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/__generated__/anthropic/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/__generated__/anthropic/_types.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/_proxy.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/examples/bedrock.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/py.typed +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/utils/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/utils/anthropic/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/utils/anthropic/_messages.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/bedrock/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/crewai/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/crewai/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/examples/dspy.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/py.typed +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/dspy/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/_with_span.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/examples/groq.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/groq/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/_wrappers.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/haystack.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/haystack/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/instructor/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/instructor/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/_tracer.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/documents/2402.03300v3.pdf +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/documents/2501.04519v1.pdf +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/documents/2501.19393v2.pdf +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/langchain.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/langchain/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/litellm/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/litellm/py.typed +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/litellm/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/_callback.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/llama_index.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/py.typed +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/llama_index/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/_request_attributes_extractor.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/_response_attributes_extractor.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/_with_span.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/examples/mistralai.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/py.typed +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/mistralai/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/_request_attributes_extractor.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/_response_attributes_extractor.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/_with_span.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/openai.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/py.typed +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/test-requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/openai/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/_accumulator.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/_instrumentation_status.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/_proxy.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/_wrapper.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/requirements.txt +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/examples/vertexai.sh +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/package.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/py.typed +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/frameworks/vertexai/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/instrumentation/.gitignore +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/instrumentation/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/instrumentation/config.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/instrumentation/context_attributes.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/instrumentation/helpers.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/instrumentation/logging.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/otel/instrumentation/version.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/providers/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/integrations/providers/types.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/prompt/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/prompt/types.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/testcases/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/testcases/conversational_test_case.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/testcases/general.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/testcases/llm_test_case.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/testcases/mllm_test_case.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/testcases/utils.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/__init__.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/constants.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/errors.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/executor.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/logging.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/routes.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/types.py +0 -0
- {futureagi-0.5.2 → futureagi-0.5.3}/fi/utils/utils.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import copy
|
|
1
2
|
import time
|
|
2
3
|
from concurrent.futures import ThreadPoolExecutor, TimeoutError, as_completed
|
|
3
4
|
from typing import Dict, List, Optional, Tuple
|
|
4
|
-
import copy
|
|
5
5
|
|
|
6
6
|
from fi.evals import EvalClient
|
|
7
7
|
from fi.evals.templates import (
|
|
@@ -198,7 +198,6 @@ class ProtectClient:
|
|
|
198
198
|
|
|
199
199
|
protect_rules_copy = copy.deepcopy(protect_rules)
|
|
200
200
|
|
|
201
|
-
|
|
202
201
|
# Validate inputs
|
|
203
202
|
if inputs is None:
|
|
204
203
|
raise ValueError("inputs cannot be None")
|
|
@@ -359,7 +358,9 @@ class ProtectClient:
|
|
|
359
358
|
|
|
360
359
|
if remaining_time <= 0:
|
|
361
360
|
# Add remaining rules to uncompleted list
|
|
362
|
-
remaining_rules = [
|
|
361
|
+
remaining_rules = [
|
|
362
|
+
rule["metric"] for rule in protect_rules_copy[i:]
|
|
363
|
+
]
|
|
363
364
|
all_uncompleted_rules.extend(remaining_rules)
|
|
364
365
|
break
|
|
365
366
|
|
|
@@ -385,12 +386,12 @@ class ProtectClient:
|
|
|
385
386
|
"completed_rules": all_completed_rules,
|
|
386
387
|
"uncompleted_rules": all_uncompleted_rules,
|
|
387
388
|
"failed_rule": failed_rule,
|
|
388
|
-
"messages":
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
"reasons":
|
|
392
|
-
|
|
393
|
-
|
|
389
|
+
"messages": (
|
|
390
|
+
all_failure_messages[0] if all_failure_messages else "All checks passed"
|
|
391
|
+
),
|
|
392
|
+
"reasons": (
|
|
393
|
+
all_failure_reasons[0] if all_failure_reasons else "All checks passed"
|
|
394
|
+
),
|
|
394
395
|
"time_taken": elapsed_time,
|
|
395
396
|
}
|
|
396
397
|
|
|
@@ -38,11 +38,9 @@ class AnthropicInstrumentor(BaseInstrumentor): # type: ignore[misc]
|
|
|
38
38
|
return _instruments
|
|
39
39
|
|
|
40
40
|
def _instrument(self, **kwargs: Any) -> None:
|
|
41
|
-
print("Starting instrumentation process...")
|
|
42
41
|
from anthropic.resources.completions import AsyncCompletions, Completions
|
|
43
42
|
from anthropic.resources.messages import AsyncMessages, Messages
|
|
44
43
|
|
|
45
|
-
print(f"Initializing with tracer_provider: {kwargs.get('tracer_provider')}")
|
|
46
44
|
if not (tracer_provider := kwargs.get("tracer_provider")):
|
|
47
45
|
tracer_provider = trace_api.get_tracer_provider()
|
|
48
46
|
if not (config := kwargs.get("config")):
|
|
@@ -50,13 +48,11 @@ class AnthropicInstrumentor(BaseInstrumentor): # type: ignore[misc]
|
|
|
50
48
|
else:
|
|
51
49
|
assert isinstance(config, TraceConfig)
|
|
52
50
|
|
|
53
|
-
print("Creating FITracer instance...")
|
|
54
51
|
self._tracer = FITracer(
|
|
55
52
|
trace_api.get_tracer(__name__, __version__, tracer_provider),
|
|
56
53
|
config=config,
|
|
57
54
|
)
|
|
58
55
|
|
|
59
|
-
print("Wrapping Completions.create...")
|
|
60
56
|
self._original_completions_create = Completions.create
|
|
61
57
|
wrap_function_wrapper(
|
|
62
58
|
module="anthropic.resources.completions",
|
|
@@ -64,7 +60,6 @@ class AnthropicInstrumentor(BaseInstrumentor): # type: ignore[misc]
|
|
|
64
60
|
wrapper=_CompletionsWrapper(tracer=self._tracer),
|
|
65
61
|
)
|
|
66
62
|
|
|
67
|
-
print("Wrapping AsyncCompletions.create...")
|
|
68
63
|
self._original_async_completions_create = AsyncCompletions.create
|
|
69
64
|
wrap_function_wrapper(
|
|
70
65
|
module="anthropic.resources.completions",
|
|
@@ -72,7 +67,6 @@ class AnthropicInstrumentor(BaseInstrumentor): # type: ignore[misc]
|
|
|
72
67
|
wrapper=_AsyncCompletionsWrapper(tracer=self._tracer),
|
|
73
68
|
)
|
|
74
69
|
|
|
75
|
-
print("Wrapping Messages.create...")
|
|
76
70
|
self._original_messages_create = Messages.create
|
|
77
71
|
wrap_function_wrapper(
|
|
78
72
|
module="anthropic.resources.messages",
|
|
@@ -80,7 +74,6 @@ class AnthropicInstrumentor(BaseInstrumentor): # type: ignore[misc]
|
|
|
80
74
|
wrapper=_MessagesWrapper(tracer=self._tracer),
|
|
81
75
|
)
|
|
82
76
|
|
|
83
|
-
print("Wrapping AsyncMessages.create...")
|
|
84
77
|
self._original_async_messages_create = AsyncMessages.create
|
|
85
78
|
wrap_function_wrapper(
|
|
86
79
|
module="anthropic.resources.messages",
|
|
@@ -88,30 +81,22 @@ class AnthropicInstrumentor(BaseInstrumentor): # type: ignore[misc]
|
|
|
88
81
|
wrapper=_AsyncMessagesWrapper(tracer=self._tracer),
|
|
89
82
|
)
|
|
90
83
|
|
|
91
|
-
print("Wrapping Messages.count_tokens...")
|
|
92
84
|
wrap_function_wrapper(
|
|
93
85
|
module="anthropic.resources.messages",
|
|
94
86
|
name="Messages.count_tokens",
|
|
95
87
|
wrapper=_MessagesCountTokensWrapper(tracer=self._tracer),
|
|
96
88
|
)
|
|
97
|
-
print("Instrumentation complete!")
|
|
98
89
|
|
|
99
90
|
def _uninstrument(self, **kwargs: Any) -> None:
|
|
100
|
-
print("Starting uninstrumentation process...")
|
|
101
91
|
from anthropic.resources.completions import AsyncCompletions, Completions
|
|
102
92
|
from anthropic.resources.messages import AsyncMessages, Messages
|
|
103
93
|
|
|
104
94
|
if self._original_completions_create is not None:
|
|
105
|
-
print("Restoring original Completions.create...")
|
|
106
95
|
Completions.create = self._original_completions_create # type: ignore[method-assign]
|
|
107
96
|
if self._original_async_completions_create is not None:
|
|
108
|
-
print("Restoring original AsyncCompletions.create...")
|
|
109
97
|
AsyncCompletions.create = self._original_async_completions_create # type: ignore[method-assign]
|
|
110
98
|
|
|
111
99
|
if self._original_messages_create is not None:
|
|
112
|
-
print("Restoring original Messages.create...")
|
|
113
100
|
Messages.create = self._original_messages_create # type: ignore[method-assign]
|
|
114
101
|
if self._original_async_messages_create is not None:
|
|
115
|
-
print("Restoring original AsyncMessages.create...")
|
|
116
102
|
AsyncMessages.create = self._original_async_messages_create # type: ignore[method-assign]
|
|
117
|
-
print("Uninstrumentation complete!")
|
|
@@ -54,20 +54,16 @@ class _Stream(ObjectProxy): # type: ignore
|
|
|
54
54
|
stream: "Stream[Completion]",
|
|
55
55
|
with_span: _WithSpan,
|
|
56
56
|
) -> None:
|
|
57
|
-
print("Initializing _Stream wrapper")
|
|
58
57
|
super().__init__(stream)
|
|
59
58
|
self._response_accumulator = _ResponseAccumulator()
|
|
60
59
|
self._with_span = with_span
|
|
61
60
|
|
|
62
61
|
def __iter__(self) -> Iterator["Completion"]:
|
|
63
|
-
print("Starting synchronous stream iteration")
|
|
64
62
|
try:
|
|
65
63
|
for item in self.__wrapped__:
|
|
66
|
-
print(f"Processing stream chunk: {type(item)}")
|
|
67
64
|
self._response_accumulator.process_chunk(item)
|
|
68
65
|
yield item
|
|
69
66
|
except Exception as exception:
|
|
70
|
-
print(f"Error in stream iteration: {type(exception).__name__}: {exception}")
|
|
71
67
|
status = trace_api.Status(
|
|
72
68
|
status_code=trace_api.StatusCode.ERROR,
|
|
73
69
|
description=f"{type(exception).__name__}: {exception}",
|
|
@@ -75,7 +71,6 @@ class _Stream(ObjectProxy): # type: ignore
|
|
|
75
71
|
self._with_span.record_exception(exception)
|
|
76
72
|
self._finish_tracing(status=status)
|
|
77
73
|
raise
|
|
78
|
-
print("Stream iteration completed successfully")
|
|
79
74
|
status = trace_api.Status(
|
|
80
75
|
status_code=trace_api.StatusCode.OK,
|
|
81
76
|
)
|
|
@@ -177,22 +172,16 @@ class _MessagesStream(ObjectProxy): # type: ignore
|
|
|
177
172
|
stream: "Stream[RawMessageStreamEvent]",
|
|
178
173
|
with_span: _WithSpan,
|
|
179
174
|
) -> None:
|
|
180
|
-
print("Initializing _MessagesStream wrapper")
|
|
181
175
|
super().__init__(stream)
|
|
182
176
|
self._response_accumulator = _MessageResponseAccumulator()
|
|
183
177
|
self._with_span = with_span
|
|
184
178
|
|
|
185
179
|
def __iter__(self) -> Iterator["RawMessageStreamEvent"]:
|
|
186
|
-
print("Starting synchronous message stream iteration")
|
|
187
180
|
try:
|
|
188
181
|
for item in self.__wrapped__:
|
|
189
|
-
print(f"Processing message stream chunk: {type(item)}")
|
|
190
182
|
self._response_accumulator.process_chunk(item)
|
|
191
183
|
yield item
|
|
192
184
|
except Exception as exception:
|
|
193
|
-
print(
|
|
194
|
-
f"Error in message stream iteration: {type(exception).__name__}: {exception}"
|
|
195
|
-
)
|
|
196
185
|
status = trace_api.Status(
|
|
197
186
|
status_code=trace_api.StatusCode.ERROR,
|
|
198
187
|
description=f"{type(exception).__name__}: {exception}",
|
|
@@ -200,7 +189,6 @@ class _MessagesStream(ObjectProxy): # type: ignore
|
|
|
200
189
|
self._with_span.record_exception(exception)
|
|
201
190
|
self._finish_tracing(status=status)
|
|
202
191
|
raise
|
|
203
|
-
print("Message stream iteration completed successfully")
|
|
204
192
|
status = trace_api.Status(
|
|
205
193
|
status_code=trace_api.StatusCode.OK,
|
|
206
194
|
)
|
|
@@ -285,7 +273,6 @@ class _MessageResponseAccumulator:
|
|
|
285
273
|
)
|
|
286
274
|
|
|
287
275
|
def process_chunk(self, chunk: "RawContentBlockDeltaEvent") -> None:
|
|
288
|
-
print(f"Processing message chunk of type: {type(chunk)}")
|
|
289
276
|
from anthropic.types.raw_content_block_delta_event import (
|
|
290
277
|
RawContentBlockDeltaEvent,
|
|
291
278
|
)
|
|
@@ -299,9 +286,6 @@ class _MessageResponseAccumulator:
|
|
|
299
286
|
|
|
300
287
|
self._is_null = False
|
|
301
288
|
if isinstance(chunk, RawMessageStartEvent):
|
|
302
|
-
print(
|
|
303
|
-
f"Processing message start event. Message index: {self._current_message_idx + 1}"
|
|
304
|
-
)
|
|
305
289
|
self._current_message_idx += 1
|
|
306
290
|
value = {
|
|
307
291
|
"messages": {
|
|
@@ -312,14 +296,8 @@ class _MessageResponseAccumulator:
|
|
|
312
296
|
}
|
|
313
297
|
self._values += value
|
|
314
298
|
elif isinstance(chunk, RawContentBlockStartEvent):
|
|
315
|
-
print(
|
|
316
|
-
f"Processing content block start event. Type: {type(chunk.content_block)}"
|
|
317
|
-
)
|
|
318
299
|
self._current_content_block_type = chunk.content_block
|
|
319
300
|
elif isinstance(chunk, RawContentBlockDeltaEvent):
|
|
320
|
-
print(
|
|
321
|
-
f"Processing content block delta event. Current block type: {type(self._current_content_block_type)}"
|
|
322
|
-
)
|
|
323
301
|
if isinstance(self._current_content_block_type, TextBlock):
|
|
324
302
|
value = {
|
|
325
303
|
"messages": {
|
|
@@ -346,7 +324,6 @@ class _MessageResponseAccumulator:
|
|
|
346
324
|
}
|
|
347
325
|
self._values += value
|
|
348
326
|
elif isinstance(chunk, RawMessageDeltaEvent):
|
|
349
|
-
print("Processing message delta event")
|
|
350
327
|
value = {
|
|
351
328
|
"messages": {
|
|
352
329
|
"index": str(self._current_message_idx),
|
|
@@ -4,7 +4,7 @@ from typing import Any, Iterator, NamedTuple, Optional, Protocol, Tuple
|
|
|
4
4
|
from opentelemetry import trace as trace_api
|
|
5
5
|
from opentelemetry.util.types import Attributes, AttributeValue
|
|
6
6
|
|
|
7
|
-
from fi.integrations.otel.frameworks.
|
|
7
|
+
from fi.integrations.otel.frameworks.anthropic._with_span import _WithSpan
|
|
8
8
|
from fi.integrations.otel.instrumentation import safe_json_dumps
|
|
9
9
|
from fi.integrations.otel.types import FiMimeTypeValues, SpanAttributes
|
|
10
10
|
|
|
@@ -30,29 +30,36 @@ def _finish_tracing(
|
|
|
30
30
|
) -> None:
|
|
31
31
|
try:
|
|
32
32
|
attributes: Attributes = dict(has_attributes.get_attributes())
|
|
33
|
-
except Exception:
|
|
33
|
+
except Exception as e:
|
|
34
34
|
logger.exception("Failed to get attributes")
|
|
35
35
|
attributes = None
|
|
36
|
+
|
|
36
37
|
try:
|
|
37
38
|
extra_attributes: Attributes = dict(has_attributes.get_extra_attributes())
|
|
38
|
-
except Exception:
|
|
39
|
+
except Exception as e:
|
|
39
40
|
logger.exception("Failed to get extra attributes")
|
|
40
41
|
extra_attributes = None
|
|
42
|
+
|
|
41
43
|
try:
|
|
42
44
|
with_span.finish_tracing(
|
|
43
45
|
status=status,
|
|
44
46
|
attributes=attributes,
|
|
45
47
|
extra_attributes=extra_attributes,
|
|
46
48
|
)
|
|
47
|
-
except Exception:
|
|
49
|
+
except Exception as e:
|
|
50
|
+
print(f"Failed to finish tracing: {e}")
|
|
48
51
|
logger.exception("Failed to finish tracing")
|
|
52
|
+
raise
|
|
49
53
|
|
|
50
54
|
|
|
51
55
|
def _io_value_and_type(obj: Any) -> _ValueAndType:
|
|
52
56
|
try:
|
|
53
|
-
|
|
54
|
-
|
|
57
|
+
json_value = safe_json_dumps(obj)
|
|
58
|
+
return _ValueAndType(json_value, FiMimeTypeValues.JSON)
|
|
59
|
+
except Exception as e:
|
|
60
|
+
print(f"Failed to serialize as JSON: {e}")
|
|
55
61
|
logger.exception("Failed to get input attributes from request parameters.")
|
|
62
|
+
|
|
56
63
|
return _ValueAndType(str(obj), FiMimeTypeValues.TEXT)
|
|
57
64
|
|
|
58
65
|
|
|
@@ -61,8 +68,9 @@ def _as_input_attributes(
|
|
|
61
68
|
) -> Iterator[Tuple[str, AttributeValue]]:
|
|
62
69
|
if not value_and_type:
|
|
63
70
|
return
|
|
71
|
+
|
|
64
72
|
yield SpanAttributes.INPUT_VALUE, value_and_type.value
|
|
65
|
-
|
|
73
|
+
|
|
66
74
|
if value_and_type.type is not FiMimeTypeValues.TEXT:
|
|
67
75
|
yield SpanAttributes.INPUT_MIME_TYPE, value_and_type.type.value
|
|
68
76
|
|
|
@@ -72,7 +80,8 @@ def _as_output_attributes(
|
|
|
72
80
|
) -> Iterator[Tuple[str, AttributeValue]]:
|
|
73
81
|
if not value_and_type:
|
|
74
82
|
return
|
|
83
|
+
|
|
75
84
|
yield SpanAttributes.OUTPUT_VALUE, value_and_type.value
|
|
76
|
-
|
|
85
|
+
|
|
77
86
|
if value_and_type.type is not FiMimeTypeValues.TEXT:
|
|
78
87
|
yield SpanAttributes.OUTPUT_MIME_TYPE, value_and_type.type.value
|
|
@@ -18,13 +18,9 @@ class _WithSpan:
|
|
|
18
18
|
self,
|
|
19
19
|
span: trace_api.Span,
|
|
20
20
|
) -> None:
|
|
21
|
-
print(f"Initializing _WithSpan with span: {span}")
|
|
22
21
|
self._span = span
|
|
23
22
|
try:
|
|
24
23
|
self._is_finished = not self._span.is_recording()
|
|
25
|
-
print(
|
|
26
|
-
f"Span recording status: {'recording' if not self._is_finished else 'not recording'}"
|
|
27
|
-
)
|
|
28
24
|
except Exception:
|
|
29
25
|
logger.exception("Failed to check if span is recording")
|
|
30
26
|
print("Error checking span recording status, defaulting to finished")
|
|
@@ -38,16 +34,12 @@ class _WithSpan:
|
|
|
38
34
|
self._span.set_attribute(key, value)
|
|
39
35
|
|
|
40
36
|
def set_attributes(self, attributes: Dict[str, AttributeValue]) -> None:
|
|
41
|
-
print(f"Setting attributes: {attributes}")
|
|
42
|
-
|
|
43
37
|
self._span.set_attributes(attributes)
|
|
44
38
|
|
|
45
39
|
def record_exception(self, exception: Exception) -> None:
|
|
46
40
|
if self._is_finished:
|
|
47
|
-
print(f"Skipping exception recording - span is finished: {exception}")
|
|
48
41
|
return
|
|
49
42
|
try:
|
|
50
|
-
print(f"Recording exception: {type(exception).__name__}: {exception}")
|
|
51
43
|
self._span.record_exception(exception)
|
|
52
44
|
except Exception:
|
|
53
45
|
logger.exception("Failed to record exception on span")
|
|
@@ -55,10 +47,8 @@ class _WithSpan:
|
|
|
55
47
|
|
|
56
48
|
def set_status(self, status: Union[trace_api.Status, trace_api.StatusCode]) -> None:
|
|
57
49
|
if self._is_finished:
|
|
58
|
-
print(f"Skipping status setting - span is finished: {status}")
|
|
59
50
|
return
|
|
60
51
|
try:
|
|
61
|
-
print(f"Setting span status: {status}")
|
|
62
52
|
self._span.set_status(status=status)
|
|
63
53
|
except Exception:
|
|
64
54
|
logger.exception("Failed to set status on span")
|
|
@@ -66,10 +56,8 @@ class _WithSpan:
|
|
|
66
56
|
|
|
67
57
|
def add_event(self, name: str) -> None:
|
|
68
58
|
if self._is_finished:
|
|
69
|
-
print(f"Skipping event addition - span is finished: {name}")
|
|
70
59
|
return
|
|
71
60
|
try:
|
|
72
|
-
print(f"Adding event: {name}")
|
|
73
61
|
self._span.add_event(name)
|
|
74
62
|
except Exception:
|
|
75
63
|
logger.exception("Failed to add event to span")
|
|
@@ -82,19 +70,15 @@ class _WithSpan:
|
|
|
82
70
|
extra_attributes: Attributes = None,
|
|
83
71
|
) -> None:
|
|
84
72
|
if self._is_finished:
|
|
85
|
-
print("Skipping finish_tracing - span is already finished")
|
|
86
73
|
return
|
|
87
74
|
|
|
88
|
-
print("Starting finish_tracing process")
|
|
89
75
|
for mapping in (attributes, extra_attributes):
|
|
90
76
|
if not mapping:
|
|
91
77
|
continue
|
|
92
|
-
print(f"Processing attributes mapping: {mapping}")
|
|
93
78
|
for key, value in mapping.items():
|
|
94
79
|
if value is None:
|
|
95
80
|
continue
|
|
96
81
|
try:
|
|
97
|
-
print(f"Setting attribute: {key}={value}")
|
|
98
82
|
self._span.set_attribute(key, value)
|
|
99
83
|
except Exception:
|
|
100
84
|
logger.exception("Failed to set attribute on span")
|
|
@@ -102,18 +86,15 @@ class _WithSpan:
|
|
|
102
86
|
|
|
103
87
|
if status is not None:
|
|
104
88
|
try:
|
|
105
|
-
print(f"Setting final status: {status}")
|
|
106
89
|
self._span.set_status(status=status)
|
|
107
90
|
except Exception:
|
|
108
91
|
logger.exception("Failed to set status code on span")
|
|
109
92
|
print("Error setting final status")
|
|
110
93
|
|
|
111
94
|
try:
|
|
112
|
-
print("Ending span")
|
|
113
95
|
self._span.end()
|
|
114
96
|
except Exception:
|
|
115
97
|
logger.exception("Failed to end span")
|
|
116
98
|
print("Error ending span")
|
|
117
99
|
|
|
118
100
|
self._is_finished = True
|
|
119
|
-
print("Span finished successfully")
|
|
@@ -56,7 +56,6 @@ class _WithTracer(ABC):
|
|
|
56
56
|
def _start_as_current_span(
|
|
57
57
|
self, span_name: str, attributes: Optional[Mapping[str, Any]] = None
|
|
58
58
|
) -> Iterator[_WithSpan]:
|
|
59
|
-
print(f"Starting span: {span_name} with attributes: {attributes}")
|
|
60
59
|
try:
|
|
61
60
|
span = self._tracer.start_span(
|
|
62
61
|
name=span_name,
|
|
@@ -64,7 +63,6 @@ class _WithTracer(ABC):
|
|
|
64
63
|
set_status_on_exception=False,
|
|
65
64
|
attributes=attributes,
|
|
66
65
|
)
|
|
67
|
-
print(f"Successfully created span: {span}")
|
|
68
66
|
except Exception as e:
|
|
69
67
|
print(f"Error creating span: {e}")
|
|
70
68
|
span = INVALID_SPAN
|
|
@@ -115,7 +113,7 @@ class _CompletionsWrapper(_BaseWrapper):
|
|
|
115
113
|
return wrapped(*args, **kwargs)
|
|
116
114
|
|
|
117
115
|
arguments = kwargs
|
|
118
|
-
llm_prompt = dict(arguments).pop("
|
|
116
|
+
llm_prompt = dict(arguments).pop("system", None)
|
|
119
117
|
llm_input_messages = dict(arguments).pop("messages", None)
|
|
120
118
|
llm_invocation_parameters = _get_invocation_parameters(arguments)
|
|
121
119
|
|
|
@@ -146,7 +144,6 @@ class _CompletionsWrapper(_BaseWrapper):
|
|
|
146
144
|
),
|
|
147
145
|
) as span:
|
|
148
146
|
try:
|
|
149
|
-
print("Calling wrapped completion function")
|
|
150
147
|
response = wrapped(*args, **kwargs)
|
|
151
148
|
span.set_attributes(dict(_get_raw_output(response)))
|
|
152
149
|
|
|
@@ -166,13 +163,10 @@ class _CompletionsWrapper(_BaseWrapper):
|
|
|
166
163
|
span.record_exception(exception)
|
|
167
164
|
raise
|
|
168
165
|
|
|
169
|
-
print("Completion successful, processing response")
|
|
170
166
|
streaming = kwargs.get("stream", False)
|
|
171
167
|
if streaming:
|
|
172
|
-
print("Returning streaming response")
|
|
173
168
|
return _Stream(response, span)
|
|
174
169
|
else:
|
|
175
|
-
print("Processing non-streaming response")
|
|
176
170
|
span.set_status(trace_api.StatusCode.OK)
|
|
177
171
|
span.set_attributes(dict(_get_outputs(response)))
|
|
178
172
|
span.finish_tracing()
|
|
@@ -196,7 +190,7 @@ class _AsyncCompletionsWrapper(_WithTracer):
|
|
|
196
190
|
return await wrapped(*args, **kwargs)
|
|
197
191
|
|
|
198
192
|
arguments = kwargs
|
|
199
|
-
llm_prompt = dict(arguments).pop("
|
|
193
|
+
llm_prompt = dict(arguments).pop("system", None)
|
|
200
194
|
llm_input_messages = dict(arguments).pop("messages", None)
|
|
201
195
|
invocation_parameters = _get_invocation_parameters(arguments)
|
|
202
196
|
|
|
@@ -264,6 +258,7 @@ class _MessagesWrapper(_BaseWrapper):
|
|
|
264
258
|
|
|
265
259
|
arguments = kwargs
|
|
266
260
|
llm_input_messages = dict(arguments).pop("messages", None)
|
|
261
|
+
llm_prompt = dict(arguments).pop("system", None)
|
|
267
262
|
invocation_parameters = _get_invocation_parameters(arguments)
|
|
268
263
|
|
|
269
264
|
extracted_data = _extract_image_data(llm_input_messages)
|
|
@@ -281,6 +276,7 @@ class _MessagesWrapper(_BaseWrapper):
|
|
|
281
276
|
_get_llm_provider(),
|
|
282
277
|
_get_llm_system(),
|
|
283
278
|
_get_llm_span_kind(),
|
|
279
|
+
_get_llm_prompts(llm_prompt),
|
|
284
280
|
_get_llm_input_messages(llm_input_messages),
|
|
285
281
|
_get_llm_invocation_parameters(invocation_parameters),
|
|
286
282
|
_get_llm_tools(invocation_parameters),
|
|
@@ -301,7 +297,6 @@ class _MessagesWrapper(_BaseWrapper):
|
|
|
301
297
|
# Get output content
|
|
302
298
|
output_content = None
|
|
303
299
|
if hasattr(response, "content"):
|
|
304
|
-
print("Processing response content", response.content)
|
|
305
300
|
if isinstance(response.content, list):
|
|
306
301
|
for block in response.content:
|
|
307
302
|
if hasattr(block, "text"):
|
|
@@ -357,6 +352,7 @@ class _AsyncMessagesWrapper(_WithTracer):
|
|
|
357
352
|
return await wrapped(*args, **kwargs)
|
|
358
353
|
|
|
359
354
|
arguments = kwargs
|
|
355
|
+
llm_prompt = dict(arguments).pop("system", None)
|
|
360
356
|
llm_input_messages = dict(arguments).pop("messages", None)
|
|
361
357
|
invocation_parameters = _get_invocation_parameters(arguments)
|
|
362
358
|
|
|
@@ -375,6 +371,7 @@ class _AsyncMessagesWrapper(_WithTracer):
|
|
|
375
371
|
_get_llm_system(),
|
|
376
372
|
_get_llm_model_name_from_input(arguments),
|
|
377
373
|
_get_llm_span_kind(),
|
|
374
|
+
_get_llm_prompts(llm_prompt),
|
|
378
375
|
_get_llm_input_messages(llm_input_messages),
|
|
379
376
|
_get_llm_invocation_parameters(invocation_parameters),
|
|
380
377
|
_get_llm_tools(invocation_parameters),
|
|
@@ -431,6 +428,7 @@ class _MessagesCountTokensWrapper(_BaseWrapper):
|
|
|
431
428
|
|
|
432
429
|
arguments = kwargs
|
|
433
430
|
llm_input_messages = arguments.get("messages", None)
|
|
431
|
+
llm_prompt = dict(arguments).pop("system", None)
|
|
434
432
|
|
|
435
433
|
extracted_data = _extract_image_data(llm_input_messages)
|
|
436
434
|
llm_input_messages = extracted_data["filtered_messages"]
|
|
@@ -447,6 +445,7 @@ class _MessagesCountTokensWrapper(_BaseWrapper):
|
|
|
447
445
|
_get_llm_provider(),
|
|
448
446
|
_get_llm_system(),
|
|
449
447
|
_get_llm_span_kind(),
|
|
448
|
+
_get_llm_prompts(llm_prompt),
|
|
450
449
|
_get_llm_input_messages(llm_input_messages),
|
|
451
450
|
_get_inputs(llm_input_messages),
|
|
452
451
|
_get_image_inputs(input_images),
|
|
@@ -479,18 +478,15 @@ class _MessagesCountTokensWrapper(_BaseWrapper):
|
|
|
479
478
|
|
|
480
479
|
|
|
481
480
|
def _get_inputs(arguments: Mapping[str, Any]) -> Iterator[Tuple[str, Any]]:
|
|
482
|
-
print(f"Getting inputs from arguments: {arguments}")
|
|
483
481
|
yield INPUT_VALUE, safe_json_dumps(arguments)
|
|
484
482
|
yield INPUT_MIME_TYPE, JSON
|
|
485
483
|
|
|
486
484
|
|
|
487
485
|
def _get_raw_input(arguments: Mapping[str, Any]) -> Iterator[Tuple[str, Any]]:
|
|
488
|
-
print(f"Getting raw input from arguments: {arguments}")
|
|
489
486
|
yield RAW_INPUT, safe_json_dumps(arguments)
|
|
490
487
|
|
|
491
488
|
|
|
492
489
|
def _get_raw_output(response) -> Iterator[Tuple[str, Any]]:
|
|
493
|
-
print(f"Getting raw output from response: {response}")
|
|
494
490
|
if isinstance(response, (Message, MessageTokensCount)):
|
|
495
491
|
yield RAW_OUTPUT, safe_json_dumps(response.to_dict())
|
|
496
492
|
elif hasattr(response, "to_dict"):
|
|
@@ -547,6 +543,12 @@ def _extract_image_data(messages):
|
|
|
547
543
|
data = source.get("data")
|
|
548
544
|
if data:
|
|
549
545
|
input_images.append(data)
|
|
546
|
+
image_index = len(input_images) - 1
|
|
547
|
+
eval_input.append(
|
|
548
|
+
"{{"
|
|
549
|
+
+ f"{SpanAttributes.INPUT_IMAGES}.{image_index}"
|
|
550
|
+
+ "}}"
|
|
551
|
+
)
|
|
550
552
|
else:
|
|
551
553
|
# Keep non-image content
|
|
552
554
|
filtered_content.append(item)
|
|
@@ -562,7 +564,7 @@ def _extract_image_data(messages):
|
|
|
562
564
|
return {
|
|
563
565
|
"input_images": input_images if input_images else None,
|
|
564
566
|
"filtered_messages": filtered_messages if filtered_messages else None,
|
|
565
|
-
"eval_input": "
|
|
567
|
+
"eval_input": "\n".join(eval_input),
|
|
566
568
|
"query": str(eval_input[0]) if eval_input else None,
|
|
567
569
|
}
|
|
568
570
|
except Exception as e:
|
|
@@ -586,14 +588,11 @@ def _get_eval_input(input: Any) -> Iterator[Tuple[str, Any]]:
|
|
|
586
588
|
|
|
587
589
|
|
|
588
590
|
def _get_outputs(response: "BaseModel") -> Iterator[Tuple[str, Any]]:
|
|
589
|
-
print(f"Getting outputs from response: {response}")
|
|
590
591
|
yield OUTPUT_VALUE, response.model_dump_json()
|
|
591
592
|
yield OUTPUT_MIME_TYPE, JSON
|
|
592
593
|
|
|
593
594
|
|
|
594
595
|
def _get_async_outputs(response: "BaseModel") -> Iterator[Tuple[str, Any]]:
|
|
595
|
-
print(f"Getting outputs from response: {response}")
|
|
596
|
-
|
|
597
596
|
output_value = response
|
|
598
597
|
if hasattr(response, "content"):
|
|
599
598
|
content = response.content
|
|
@@ -613,11 +612,9 @@ def _get_async_outputs(response: "BaseModel") -> Iterator[Tuple[str, Any]]:
|
|
|
613
612
|
def _get_llm_tools(
|
|
614
613
|
invocation_parameters: Mapping[str, Any]
|
|
615
614
|
) -> Iterator[Tuple[str, Any]]:
|
|
616
|
-
print(f"Processing LLM tools from parameters: {invocation_parameters}")
|
|
617
615
|
if isinstance(tools := invocation_parameters.get("tools"), list):
|
|
618
616
|
yield LLM_TOOLS, safe_json_dumps(tools)
|
|
619
617
|
for tool_index, tool_schema in enumerate(tools):
|
|
620
|
-
print(f"Processing tool {tool_index}: {tool_schema}")
|
|
621
618
|
yield f"{LLM_TOOLS}.{tool_index}.{TOOL_JSON_SCHEMA}", safe_json_dumps(
|
|
622
619
|
tool_schema
|
|
623
620
|
)
|
|
@@ -660,25 +657,20 @@ def _get_llm_invocation_parameters(
|
|
|
660
657
|
|
|
661
658
|
|
|
662
659
|
def _get_llm_prompts(prompt: str) -> Iterator[Tuple[str, Any]]:
|
|
663
|
-
yield LLM_PROMPTS,
|
|
660
|
+
yield LLM_PROMPTS, safe_json_dumps(prompt)
|
|
664
661
|
|
|
665
662
|
|
|
666
663
|
def _get_llm_input_messages(messages: List[Dict[str, str]]) -> Any:
|
|
667
|
-
print(f"Processing input messages: {len(messages)} messages")
|
|
668
664
|
from anthropic.types import TextBlock, ToolUseBlock
|
|
669
665
|
|
|
670
666
|
for i in range(len(messages)):
|
|
671
|
-
print(f"Processing message {i}")
|
|
672
667
|
tool_index = 0
|
|
673
668
|
if content := messages[i].get("content"):
|
|
674
669
|
if isinstance(content, str):
|
|
675
|
-
print(f"Processing string content: {content[:100]}... (truncated)")
|
|
676
670
|
yield f"{LLM_INPUT_MESSAGES}.{i}.{MESSAGE_CONTENT}", content
|
|
677
671
|
elif isinstance(content, list):
|
|
678
|
-
print(f"Processing content blocks: {len(content)} blocks")
|
|
679
672
|
for block in content:
|
|
680
673
|
if isinstance(block, ToolUseBlock):
|
|
681
|
-
print(f"Processing ToolUseBlock: {block}")
|
|
682
674
|
if tool_call_id := block.id:
|
|
683
675
|
yield (
|
|
684
676
|
f"{LLM_INPUT_MESSAGES}.{i}.{MESSAGE_TOOL_CALLS}.{tool_index}.{TOOL_CALL_ID}",
|
|
@@ -694,12 +686,8 @@ def _get_llm_input_messages(messages: List[Dict[str, str]]) -> Any:
|
|
|
694
686
|
)
|
|
695
687
|
tool_index += 1
|
|
696
688
|
elif isinstance(block, TextBlock):
|
|
697
|
-
print(
|
|
698
|
-
f"Processing TextBlock: {block.text[:100]}... (truncated)"
|
|
699
|
-
)
|
|
700
689
|
yield f"{LLM_INPUT_MESSAGES}.{i}.{MESSAGE_CONTENT}", block.text
|
|
701
690
|
elif isinstance(block, dict):
|
|
702
|
-
print(f"Processing dict block: {block}")
|
|
703
691
|
block_type = block.get("type")
|
|
704
692
|
if block_type == "tool_use":
|
|
705
693
|
if (tool_call_id := block.get("id")) is not None:
|
|
@@ -741,11 +729,9 @@ def _get_llm_input_messages(messages: List[Dict[str, str]]) -> Any:
|
|
|
741
729
|
|
|
742
730
|
|
|
743
731
|
def _get_invocation_parameters(kwargs: Mapping[str, Any]) -> Any:
|
|
744
|
-
print("Extracting invocation parameters")
|
|
745
732
|
invocation_parameters = {}
|
|
746
733
|
for key, value in kwargs.items():
|
|
747
734
|
if _validate_invocation_parameter(key):
|
|
748
|
-
print(f"Adding valid parameter: {key}")
|
|
749
735
|
invocation_parameters[key] = value
|
|
750
736
|
return invocation_parameters
|
|
751
737
|
|