├── .cursor └── rules │ └── odin.mdc ├── .gitattributes ├── .gitignore ├── .php-cs-fixer.php ├── .phpstorm.meta.php ├── LICENSE ├── README-CN.md ├── README.md ├── composer.json ├── data └── response.txt ├── doc ├── user-guide-cn │ ├── 00-introduction.md │ ├── 01-installation.md │ ├── 02-core-concepts.md │ ├── 03-api-reference.md │ ├── 04-model-providers.md │ ├── 05-tool-development.md │ ├── 06-memory-management.md │ ├── 07-agent-development.md │ ├── 08-testing-debugging.md │ ├── 09-examples.md │ ├── 10-faq.md │ ├── 11-mcp-integration.md │ └── README.md └── user-guide │ ├── 00-introduction.md │ ├── 01-installation.md │ ├── 02-core-concepts.md │ ├── 03-api-reference.md │ ├── 04-model-providers.md │ ├── 05-tool-development.md │ ├── 06-memory-management.md │ ├── 07-agent-development.md │ ├── 08-testing-debugging.md │ ├── 09-examples.md │ ├── 10-faq.md │ ├── 11-mcp-integration.md │ └── README.md ├── examples ├── aws │ ├── aws_cache_point.php │ ├── aws_chat.php │ ├── aws_chat_custom.php │ ├── aws_chat_stream.php │ ├── aws_tool.php │ ├── aws_tool_use_agent.php │ ├── aws_tool_use_agent_cache.php │ ├── aws_tool_use_agent_stream.php │ ├── aws_tools.php │ ├── aws_vision.php │ └── vision_test.jpeg ├── chat.php ├── chat_doubao.php ├── chat_o3.php ├── chat_with_http_mcp.php ├── chat_with_stdio_mcp.php ├── dashscope │ ├── dashscope_tool_use_agent.php │ └── dashscope_tool_use_agent_stream.php ├── exception │ ├── azure_server_error_retry_example.php │ ├── chat_completion_image_validation_example.php │ ├── context_length_exception.php │ ├── embedding_error_handling_guide.php │ ├── exception_handling.php │ ├── image_downloader_example.php │ ├── image_format_validation_example.php │ ├── multimodal_exception.php │ ├── oversize_image_error_example.php │ ├── policy_violation_exception.php │ ├── proxy_error_handling_example.php │ ├── timeout_exception.php │ └── vision_request_validation_example.php ├── gemini │ ├── gemini_tool.php │ └── gemini_tool_stream.php ├── mapper │ ├── long_conversation.php │ ├── long_conversation_stream.php │ ├── model-mapper-stream.php │ ├── model-mapper.php │ ├── tool_use_agent.php │ ├── tool_use_agent_stream.php │ ├── vision.php │ ├── vision_base64.php │ ├── vision_stream.php │ └── vision_stream_base64.php ├── mcp │ └── stdio_server.php ├── openai │ └── openai_tool_use_agent.php ├── qianfan_embeddings.php ├── stream.php ├── stream_tool_use_agent_retry.php ├── stream_tool_use_agent_retry_max.php ├── tool_use_agent.php ├── tool_use_agent_retry.php ├── tool_use_agent_retry_max.php ├── tool_use_agent_stream.php ├── tool_use_agent_stream2.php ├── tool_use_agent_with_http_mcp.php └── tool_use_agent_with_stdio_mcp.php ├── phpunit.xml ├── publish └── odin.php └── src ├── Agent └── Tool │ ├── MultiToolUseParallelTool.php │ ├── ToolExecutor.php │ ├── ToolUseAgent.php │ └── UsedTool.php ├── Api ├── Providers │ ├── AbstractApi.php │ ├── AbstractClient.php │ ├── AwsBedrock │ │ ├── AwsBedrock.php │ │ ├── AwsBedrockConfig.php │ │ ├── AwsBedrockConverseFormatConverter.php │ │ ├── AwsBedrockFormatConverter.php │ │ ├── AwsEventStreamParser.php │ │ ├── AwsSignatureV4.php │ │ ├── AwsType.php │ │ ├── Cache │ │ │ ├── AutoCacheConfig.php │ │ │ ├── AwsBedrockCachePointManager.php │ │ │ └── Strategy │ │ │ │ ├── CachePointMessage.php │ │ │ │ ├── CacheStrategyInterface.php │ │ │ │ ├── DynamicCacheStrategy.php │ │ │ │ ├── DynamicMessageCacheManager.php │ │ │ │ └── NoneCacheStrategy.php │ │ ├── ClassMap │ │ │ └── AwsApiValidator.php │ │ ├── Client.php │ │ ├── ConverseClient.php │ │ ├── ConverseConverter.php │ │ ├── ConverseCustomClient.php │ │ ├── ConverterInterface.php │ │ ├── CustomConverseStreamConverter.php │ │ ├── InvokeConverter.php │ │ ├── MergedToolMessage.php │ │ └── ResponseHandler.php │ ├── AzureOpenAI │ │ ├── AzureOpenAI.php │ │ ├── AzureOpenAIConfig.php │ │ └── Client.php │ ├── DashScope │ │ ├── Cache │ │ │ ├── DashScopeAutoCacheConfig.php │ │ │ ├── DashScopeCachePointManager.php │ │ │ └── Strategy │ │ │ │ ├── AutoCacheStrategy.php │ │ │ │ ├── DashScopeCacheStrategyInterface.php │ │ │ │ └── ManualCacheStrategy.php │ │ ├── Client.php │ │ ├── DashScope.php │ │ ├── DashScopeConfig.php │ │ └── ResponseHandler.php │ ├── Gemini │ │ ├── Cache │ │ │ ├── CacheInfo.php │ │ │ ├── GeminiCacheClient.php │ │ │ ├── GeminiCacheConfig.php │ │ │ ├── GeminiCacheManager.php │ │ │ └── Strategy │ │ │ │ ├── CachePointMessage.php │ │ │ │ ├── CacheStrategyInterface.php │ │ │ │ ├── ConversationCacheStrategy.php │ │ │ │ ├── GeminiMessageCacheManager.php │ │ │ │ └── LocalCachedData.php │ │ ├── Client.php │ │ ├── Gemini.php │ │ ├── GeminiConfig.php │ │ ├── RequestHandler.php │ │ ├── ResponseHandler.php │ │ ├── StreamConverter.php │ │ └── ThoughtSignatureCache.php │ ├── HttpHandlerFactory.php │ └── OpenAI │ │ ├── Client.php │ │ ├── OpenAI.php │ │ └── OpenAIConfig.php ├── Request │ ├── ChatCompletionRequest.php │ ├── CompletionRequest.php │ └── EmbeddingRequest.php ├── RequestOptions │ └── ApiOptions.php ├── Response │ ├── AbstractResponse.php │ ├── ChatCompletionChoice.php │ ├── ChatCompletionResponse.php │ ├── ChatCompletionStreamResponse.php │ ├── Embedding.php │ ├── EmbeddingResponse.php │ ├── ListResponse.php │ ├── Model.php │ ├── TextCompletionChoice.php │ ├── TextCompletionResponse.php │ ├── ToolCall.php │ └── Usage.php └── Transport │ ├── OdinSimpleCurl.php │ ├── SSEClient.php │ ├── SSEEvent.php │ ├── SimpleCURLClient.php │ └── StreamExceptionDetector.php ├── ClassMap └── GuzzleHttp │ └── BodySummarizer.php ├── ConfigProvider.php ├── Constants └── ModelType.php ├── Contract ├── Api │ ├── ClientInterface.php │ ├── ConfigInterface.php │ ├── Request │ │ └── RequestInterface.php │ └── Response │ │ └── ResponseInterface.php ├── Mcp │ ├── McpServerConfigInterface.php │ └── McpServerManagerInterface.php ├── Memory │ ├── DriverInterface.php │ ├── MemoryInterface.php │ └── PolicyInterface.php ├── Message │ └── MessageInterface.php ├── Model │ ├── EmbeddingInterface.php │ └── ModelInterface.php └── Tool │ └── ToolInterface.php ├── Document ├── Document.php └── MarkdownDocument.php ├── Event ├── AfterChatCompletionsEvent.php ├── AfterChatCompletionsStreamEvent.php ├── AfterEmbeddingsEvent.php └── EventCallbackListener.php ├── Exception ├── InvalidArgumentException.php ├── LLMException.php ├── LLMException │ ├── Api │ │ ├── LLMInvalidRequestException.php │ │ └── LLMRateLimitException.php │ ├── Configuration │ │ ├── LLMInvalidApiKeyException.php │ │ └── LLMInvalidEndpointException.php │ ├── ErrorCode.php │ ├── ErrorHandlerInterface.php │ ├── ErrorMapping.php │ ├── ErrorMappingManager.php │ ├── ErrorMessage.php │ ├── LLMApiException.php │ ├── LLMConfigurationException.php │ ├── LLMErrorHandler.php │ ├── LLMModelException.php │ ├── LLMNetworkException.php │ ├── Model │ │ ├── LLMContentFilterException.php │ │ ├── LLMContextLengthException.php │ │ ├── LLMEmbeddingInputTooLargeException.php │ │ ├── LLMEmbeddingNotSupportedException.php │ │ ├── LLMFunctionCallNotSupportedException.php │ │ ├── LLMImageUrlAccessException.php │ │ ├── LLMModalityNotSupportedException.php │ │ └── LLMUnsupportedImageFormatException.php │ └── Network │ │ ├── LLMConnectionTimeoutException.php │ │ ├── LLMReadTimeoutException.php │ │ ├── LLMStreamTimeoutException.php │ │ └── LLMThinkingStreamTimeoutException.php ├── McpException.php ├── OdinException.php ├── RuntimeException.php └── ToolParameterValidationException.php ├── Factory ├── ClientFactory.php └── ModelFactory.php ├── Knowledge └── Knowledge.php ├── Loader └── Loader.php ├── Logger.php ├── Mcp ├── McpServerConfig.php ├── McpServerManager.php └── McpType.php ├── Memory ├── Driver │ └── InMemoryDriver.php ├── MemoryManager.php ├── MemoryOptimizer.php ├── MemorySummarizer.php ├── MessageHistory.php ├── Policy │ ├── AbstractPolicy.php │ ├── CompositePolicy.php │ ├── LimitCountPolicy.php │ ├── RelevancyPolicy.php │ ├── SummarizationPolicy.php │ ├── TimeWindowPolicy.php │ └── TokenLimitPolicy.php └── PolicyRegistry.php ├── Message ├── AbstractMessage.php ├── AssistantMessage.php ├── CachePoint.php ├── Role.php ├── SystemMessage.php ├── ToolMessage.php ├── UserMessage.php └── UserMessageContent.php ├── Model ├── AbstractModel.php ├── AwsBedrockModel.php ├── AzureOpenAIModel.php ├── ChatglmModel.php ├── DashScopeModel.php ├── DoubaoModel.php ├── Embedding.php ├── GeminiModel.php ├── ModelOptions.php ├── OllamaModel.php ├── OpenAIModel.php ├── QianFanModel.php └── RWKVModel.php ├── ModelMapper.php ├── Prompt ├── AbstractPromptTemplate.php ├── AfterCodeExecuted.prompt ├── CodeInterpreter.prompt ├── DataAnalyzePromptTemplate.php ├── DefaultSystemMessage.prompt ├── InterpreterPromptTemplate.php ├── KnowledgeAutoQA.prompt ├── OpenAIToolsAgentPrompt.php ├── Prompt.php ├── PromptInterface.php └── code-interpreter.prompt ├── TextSplitter ├── CharacterTextSplitter.php ├── RecursiveCharacterTextSplitter.php └── TextSplitter.php ├── Tool ├── AbstractTool.php └── Definition │ ├── ParameterConverter.php │ ├── Schema │ ├── JsonSchemaBuilder.php │ ├── JsonSchemaValidator.php │ └── SchemaValidator.php │ ├── ToolDefinition.php │ ├── ToolParameter.php │ └── ToolParameters.php ├── Utils ├── EventUtil.php ├── ImageDownloader.php ├── ImageFormatValidator.php ├── LogUtil.php ├── LoggingConfigHelper.php ├── MessageUtil.php ├── ModelUtil.php ├── TimeUtil.php ├── TokenEstimator.php ├── ToolUtil.php └── VisionMessageValidator.php ├── VectorStore └── Qdrant │ ├── Config.php │ ├── Qdrant.php │ └── QdrantFactory.php └── Wrapper └── TavilySearchApiWrapper.php /.cursor/rules/odin.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/.cursor/rules/odin.mdc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/.gitignore -------------------------------------------------------------------------------- /.php-cs-fixer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/.php-cs-fixer.php -------------------------------------------------------------------------------- /.phpstorm.meta.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/.phpstorm.meta.php -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/LICENSE -------------------------------------------------------------------------------- /README-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/README-CN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/composer.json -------------------------------------------------------------------------------- /data/response.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/data/response.txt -------------------------------------------------------------------------------- /doc/user-guide-cn/00-introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/00-introduction.md -------------------------------------------------------------------------------- /doc/user-guide-cn/01-installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/01-installation.md -------------------------------------------------------------------------------- /doc/user-guide-cn/02-core-concepts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/02-core-concepts.md -------------------------------------------------------------------------------- /doc/user-guide-cn/03-api-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/03-api-reference.md -------------------------------------------------------------------------------- /doc/user-guide-cn/04-model-providers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/04-model-providers.md -------------------------------------------------------------------------------- /doc/user-guide-cn/05-tool-development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/05-tool-development.md -------------------------------------------------------------------------------- /doc/user-guide-cn/06-memory-management.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/06-memory-management.md -------------------------------------------------------------------------------- /doc/user-guide-cn/07-agent-development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/07-agent-development.md -------------------------------------------------------------------------------- /doc/user-guide-cn/08-testing-debugging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/08-testing-debugging.md -------------------------------------------------------------------------------- /doc/user-guide-cn/09-examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/09-examples.md -------------------------------------------------------------------------------- /doc/user-guide-cn/10-faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/10-faq.md -------------------------------------------------------------------------------- /doc/user-guide-cn/11-mcp-integration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/11-mcp-integration.md -------------------------------------------------------------------------------- /doc/user-guide-cn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide-cn/README.md -------------------------------------------------------------------------------- /doc/user-guide/00-introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/00-introduction.md -------------------------------------------------------------------------------- /doc/user-guide/01-installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/01-installation.md -------------------------------------------------------------------------------- /doc/user-guide/02-core-concepts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/02-core-concepts.md -------------------------------------------------------------------------------- /doc/user-guide/03-api-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/03-api-reference.md -------------------------------------------------------------------------------- /doc/user-guide/04-model-providers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/04-model-providers.md -------------------------------------------------------------------------------- /doc/user-guide/05-tool-development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/05-tool-development.md -------------------------------------------------------------------------------- /doc/user-guide/06-memory-management.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/06-memory-management.md -------------------------------------------------------------------------------- /doc/user-guide/07-agent-development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/07-agent-development.md -------------------------------------------------------------------------------- /doc/user-guide/08-testing-debugging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/08-testing-debugging.md -------------------------------------------------------------------------------- /doc/user-guide/09-examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/09-examples.md -------------------------------------------------------------------------------- /doc/user-guide/10-faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/10-faq.md -------------------------------------------------------------------------------- /doc/user-guide/11-mcp-integration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/11-mcp-integration.md -------------------------------------------------------------------------------- /doc/user-guide/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/doc/user-guide/README.md -------------------------------------------------------------------------------- /examples/aws/aws_cache_point.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_cache_point.php -------------------------------------------------------------------------------- /examples/aws/aws_chat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_chat.php -------------------------------------------------------------------------------- /examples/aws/aws_chat_custom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_chat_custom.php -------------------------------------------------------------------------------- /examples/aws/aws_chat_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_chat_stream.php -------------------------------------------------------------------------------- /examples/aws/aws_tool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_tool.php -------------------------------------------------------------------------------- /examples/aws/aws_tool_use_agent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_tool_use_agent.php -------------------------------------------------------------------------------- /examples/aws/aws_tool_use_agent_cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_tool_use_agent_cache.php -------------------------------------------------------------------------------- /examples/aws/aws_tool_use_agent_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_tool_use_agent_stream.php -------------------------------------------------------------------------------- /examples/aws/aws_tools.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_tools.php -------------------------------------------------------------------------------- /examples/aws/aws_vision.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/aws_vision.php -------------------------------------------------------------------------------- /examples/aws/vision_test.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/aws/vision_test.jpeg -------------------------------------------------------------------------------- /examples/chat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/chat.php -------------------------------------------------------------------------------- /examples/chat_doubao.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/chat_doubao.php -------------------------------------------------------------------------------- /examples/chat_o3.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/chat_o3.php -------------------------------------------------------------------------------- /examples/chat_with_http_mcp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/chat_with_http_mcp.php -------------------------------------------------------------------------------- /examples/chat_with_stdio_mcp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/chat_with_stdio_mcp.php -------------------------------------------------------------------------------- /examples/dashscope/dashscope_tool_use_agent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/dashscope/dashscope_tool_use_agent.php -------------------------------------------------------------------------------- /examples/dashscope/dashscope_tool_use_agent_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/dashscope/dashscope_tool_use_agent_stream.php -------------------------------------------------------------------------------- /examples/exception/azure_server_error_retry_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/azure_server_error_retry_example.php -------------------------------------------------------------------------------- /examples/exception/chat_completion_image_validation_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/chat_completion_image_validation_example.php -------------------------------------------------------------------------------- /examples/exception/context_length_exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/context_length_exception.php -------------------------------------------------------------------------------- /examples/exception/embedding_error_handling_guide.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/embedding_error_handling_guide.php -------------------------------------------------------------------------------- /examples/exception/exception_handling.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/exception_handling.php -------------------------------------------------------------------------------- /examples/exception/image_downloader_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/image_downloader_example.php -------------------------------------------------------------------------------- /examples/exception/image_format_validation_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/image_format_validation_example.php -------------------------------------------------------------------------------- /examples/exception/multimodal_exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/multimodal_exception.php -------------------------------------------------------------------------------- /examples/exception/oversize_image_error_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/oversize_image_error_example.php -------------------------------------------------------------------------------- /examples/exception/policy_violation_exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/policy_violation_exception.php -------------------------------------------------------------------------------- /examples/exception/proxy_error_handling_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/proxy_error_handling_example.php -------------------------------------------------------------------------------- /examples/exception/timeout_exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/timeout_exception.php -------------------------------------------------------------------------------- /examples/exception/vision_request_validation_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/exception/vision_request_validation_example.php -------------------------------------------------------------------------------- /examples/gemini/gemini_tool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/gemini/gemini_tool.php -------------------------------------------------------------------------------- /examples/gemini/gemini_tool_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/gemini/gemini_tool_stream.php -------------------------------------------------------------------------------- /examples/mapper/long_conversation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/long_conversation.php -------------------------------------------------------------------------------- /examples/mapper/long_conversation_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/long_conversation_stream.php -------------------------------------------------------------------------------- /examples/mapper/model-mapper-stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/model-mapper-stream.php -------------------------------------------------------------------------------- /examples/mapper/model-mapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/model-mapper.php -------------------------------------------------------------------------------- /examples/mapper/tool_use_agent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/tool_use_agent.php -------------------------------------------------------------------------------- /examples/mapper/tool_use_agent_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/tool_use_agent_stream.php -------------------------------------------------------------------------------- /examples/mapper/vision.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/vision.php -------------------------------------------------------------------------------- /examples/mapper/vision_base64.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/vision_base64.php -------------------------------------------------------------------------------- /examples/mapper/vision_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/vision_stream.php -------------------------------------------------------------------------------- /examples/mapper/vision_stream_base64.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mapper/vision_stream_base64.php -------------------------------------------------------------------------------- /examples/mcp/stdio_server.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/mcp/stdio_server.php -------------------------------------------------------------------------------- /examples/openai/openai_tool_use_agent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/openai/openai_tool_use_agent.php -------------------------------------------------------------------------------- /examples/qianfan_embeddings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/qianfan_embeddings.php -------------------------------------------------------------------------------- /examples/stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/stream.php -------------------------------------------------------------------------------- /examples/stream_tool_use_agent_retry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/stream_tool_use_agent_retry.php -------------------------------------------------------------------------------- /examples/stream_tool_use_agent_retry_max.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/stream_tool_use_agent_retry_max.php -------------------------------------------------------------------------------- /examples/tool_use_agent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/tool_use_agent.php -------------------------------------------------------------------------------- /examples/tool_use_agent_retry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/tool_use_agent_retry.php -------------------------------------------------------------------------------- /examples/tool_use_agent_retry_max.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/tool_use_agent_retry_max.php -------------------------------------------------------------------------------- /examples/tool_use_agent_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/tool_use_agent_stream.php -------------------------------------------------------------------------------- /examples/tool_use_agent_stream2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/tool_use_agent_stream2.php -------------------------------------------------------------------------------- /examples/tool_use_agent_with_http_mcp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/tool_use_agent_with_http_mcp.php -------------------------------------------------------------------------------- /examples/tool_use_agent_with_stdio_mcp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/examples/tool_use_agent_with_stdio_mcp.php -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/phpunit.xml -------------------------------------------------------------------------------- /publish/odin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/publish/odin.php -------------------------------------------------------------------------------- /src/Agent/Tool/MultiToolUseParallelTool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Agent/Tool/MultiToolUseParallelTool.php -------------------------------------------------------------------------------- /src/Agent/Tool/ToolExecutor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Agent/Tool/ToolExecutor.php -------------------------------------------------------------------------------- /src/Agent/Tool/ToolUseAgent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Agent/Tool/ToolUseAgent.php -------------------------------------------------------------------------------- /src/Agent/Tool/UsedTool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Agent/Tool/UsedTool.php -------------------------------------------------------------------------------- /src/Api/Providers/AbstractApi.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AbstractApi.php -------------------------------------------------------------------------------- /src/Api/Providers/AbstractClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AbstractClient.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/AwsBedrock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/AwsBedrock.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/AwsBedrockConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/AwsBedrockConfig.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/AwsBedrockConverseFormatConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/AwsBedrockConverseFormatConverter.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/AwsBedrockFormatConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/AwsBedrockFormatConverter.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/AwsEventStreamParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/AwsEventStreamParser.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/AwsSignatureV4.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/AwsSignatureV4.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/AwsType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/AwsType.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Cache/AutoCacheConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Cache/AutoCacheConfig.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Cache/AwsBedrockCachePointManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Cache/AwsBedrockCachePointManager.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Cache/Strategy/CachePointMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Cache/Strategy/CachePointMessage.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Cache/Strategy/CacheStrategyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Cache/Strategy/CacheStrategyInterface.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Cache/Strategy/DynamicCacheStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Cache/Strategy/DynamicCacheStrategy.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Cache/Strategy/DynamicMessageCacheManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Cache/Strategy/DynamicMessageCacheManager.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Cache/Strategy/NoneCacheStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Cache/Strategy/NoneCacheStrategy.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/ClassMap/AwsApiValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/ClassMap/AwsApiValidator.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/Client.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/ConverseClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/ConverseClient.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/ConverseConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/ConverseConverter.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/ConverseCustomClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/ConverseCustomClient.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/ConverterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/ConverterInterface.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/CustomConverseStreamConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/CustomConverseStreamConverter.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/InvokeConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/InvokeConverter.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/MergedToolMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/MergedToolMessage.php -------------------------------------------------------------------------------- /src/Api/Providers/AwsBedrock/ResponseHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AwsBedrock/ResponseHandler.php -------------------------------------------------------------------------------- /src/Api/Providers/AzureOpenAI/AzureOpenAI.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AzureOpenAI/AzureOpenAI.php -------------------------------------------------------------------------------- /src/Api/Providers/AzureOpenAI/AzureOpenAIConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AzureOpenAI/AzureOpenAIConfig.php -------------------------------------------------------------------------------- /src/Api/Providers/AzureOpenAI/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/AzureOpenAI/Client.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/Cache/DashScopeAutoCacheConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/Cache/DashScopeAutoCacheConfig.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/Cache/DashScopeCachePointManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/Cache/DashScopeCachePointManager.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/Cache/Strategy/AutoCacheStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/Cache/Strategy/AutoCacheStrategy.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/Cache/Strategy/DashScopeCacheStrategyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/Cache/Strategy/DashScopeCacheStrategyInterface.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/Cache/Strategy/ManualCacheStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/Cache/Strategy/ManualCacheStrategy.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/Client.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/DashScope.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/DashScope.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/DashScopeConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/DashScopeConfig.php -------------------------------------------------------------------------------- /src/Api/Providers/DashScope/ResponseHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/DashScope/ResponseHandler.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/CacheInfo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/CacheInfo.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/GeminiCacheClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/GeminiCacheClient.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/GeminiCacheConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/GeminiCacheConfig.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/GeminiCacheManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/GeminiCacheManager.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/Strategy/CachePointMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/Strategy/CachePointMessage.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/Strategy/CacheStrategyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/Strategy/CacheStrategyInterface.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/Strategy/ConversationCacheStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/Strategy/ConversationCacheStrategy.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/Strategy/GeminiMessageCacheManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/Strategy/GeminiMessageCacheManager.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Cache/Strategy/LocalCachedData.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Cache/Strategy/LocalCachedData.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Client.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/Gemini.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/Gemini.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/GeminiConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/GeminiConfig.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/RequestHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/RequestHandler.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/ResponseHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/ResponseHandler.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/StreamConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/StreamConverter.php -------------------------------------------------------------------------------- /src/Api/Providers/Gemini/ThoughtSignatureCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/Gemini/ThoughtSignatureCache.php -------------------------------------------------------------------------------- /src/Api/Providers/HttpHandlerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/HttpHandlerFactory.php -------------------------------------------------------------------------------- /src/Api/Providers/OpenAI/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/OpenAI/Client.php -------------------------------------------------------------------------------- /src/Api/Providers/OpenAI/OpenAI.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/OpenAI/OpenAI.php -------------------------------------------------------------------------------- /src/Api/Providers/OpenAI/OpenAIConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Providers/OpenAI/OpenAIConfig.php -------------------------------------------------------------------------------- /src/Api/Request/ChatCompletionRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Request/ChatCompletionRequest.php -------------------------------------------------------------------------------- /src/Api/Request/CompletionRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Request/CompletionRequest.php -------------------------------------------------------------------------------- /src/Api/Request/EmbeddingRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Request/EmbeddingRequest.php -------------------------------------------------------------------------------- /src/Api/RequestOptions/ApiOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/RequestOptions/ApiOptions.php -------------------------------------------------------------------------------- /src/Api/Response/AbstractResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/AbstractResponse.php -------------------------------------------------------------------------------- /src/Api/Response/ChatCompletionChoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/ChatCompletionChoice.php -------------------------------------------------------------------------------- /src/Api/Response/ChatCompletionResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/ChatCompletionResponse.php -------------------------------------------------------------------------------- /src/Api/Response/ChatCompletionStreamResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/ChatCompletionStreamResponse.php -------------------------------------------------------------------------------- /src/Api/Response/Embedding.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/Embedding.php -------------------------------------------------------------------------------- /src/Api/Response/EmbeddingResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/EmbeddingResponse.php -------------------------------------------------------------------------------- /src/Api/Response/ListResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/ListResponse.php -------------------------------------------------------------------------------- /src/Api/Response/Model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/Model.php -------------------------------------------------------------------------------- /src/Api/Response/TextCompletionChoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/TextCompletionChoice.php -------------------------------------------------------------------------------- /src/Api/Response/TextCompletionResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/TextCompletionResponse.php -------------------------------------------------------------------------------- /src/Api/Response/ToolCall.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/ToolCall.php -------------------------------------------------------------------------------- /src/Api/Response/Usage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Response/Usage.php -------------------------------------------------------------------------------- /src/Api/Transport/OdinSimpleCurl.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Transport/OdinSimpleCurl.php -------------------------------------------------------------------------------- /src/Api/Transport/SSEClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Transport/SSEClient.php -------------------------------------------------------------------------------- /src/Api/Transport/SSEEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Transport/SSEEvent.php -------------------------------------------------------------------------------- /src/Api/Transport/SimpleCURLClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Transport/SimpleCURLClient.php -------------------------------------------------------------------------------- /src/Api/Transport/StreamExceptionDetector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Api/Transport/StreamExceptionDetector.php -------------------------------------------------------------------------------- /src/ClassMap/GuzzleHttp/BodySummarizer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/ClassMap/GuzzleHttp/BodySummarizer.php -------------------------------------------------------------------------------- /src/ConfigProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/ConfigProvider.php -------------------------------------------------------------------------------- /src/Constants/ModelType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Constants/ModelType.php -------------------------------------------------------------------------------- /src/Contract/Api/ClientInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Api/ClientInterface.php -------------------------------------------------------------------------------- /src/Contract/Api/ConfigInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Api/ConfigInterface.php -------------------------------------------------------------------------------- /src/Contract/Api/Request/RequestInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Api/Request/RequestInterface.php -------------------------------------------------------------------------------- /src/Contract/Api/Response/ResponseInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Api/Response/ResponseInterface.php -------------------------------------------------------------------------------- /src/Contract/Mcp/McpServerConfigInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Mcp/McpServerConfigInterface.php -------------------------------------------------------------------------------- /src/Contract/Mcp/McpServerManagerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Mcp/McpServerManagerInterface.php -------------------------------------------------------------------------------- /src/Contract/Memory/DriverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Memory/DriverInterface.php -------------------------------------------------------------------------------- /src/Contract/Memory/MemoryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Memory/MemoryInterface.php -------------------------------------------------------------------------------- /src/Contract/Memory/PolicyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Memory/PolicyInterface.php -------------------------------------------------------------------------------- /src/Contract/Message/MessageInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Message/MessageInterface.php -------------------------------------------------------------------------------- /src/Contract/Model/EmbeddingInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Model/EmbeddingInterface.php -------------------------------------------------------------------------------- /src/Contract/Model/ModelInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Model/ModelInterface.php -------------------------------------------------------------------------------- /src/Contract/Tool/ToolInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Contract/Tool/ToolInterface.php -------------------------------------------------------------------------------- /src/Document/Document.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Document/Document.php -------------------------------------------------------------------------------- /src/Document/MarkdownDocument.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Document/MarkdownDocument.php -------------------------------------------------------------------------------- /src/Event/AfterChatCompletionsEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Event/AfterChatCompletionsEvent.php -------------------------------------------------------------------------------- /src/Event/AfterChatCompletionsStreamEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Event/AfterChatCompletionsStreamEvent.php -------------------------------------------------------------------------------- /src/Event/AfterEmbeddingsEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Event/AfterEmbeddingsEvent.php -------------------------------------------------------------------------------- /src/Event/EventCallbackListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Event/EventCallbackListener.php -------------------------------------------------------------------------------- /src/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/InvalidArgumentException.php -------------------------------------------------------------------------------- /src/Exception/LLMException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Api/LLMInvalidRequestException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Api/LLMInvalidRequestException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Api/LLMRateLimitException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Api/LLMRateLimitException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Configuration/LLMInvalidApiKeyException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Configuration/LLMInvalidApiKeyException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Configuration/LLMInvalidEndpointException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Configuration/LLMInvalidEndpointException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/ErrorCode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/ErrorCode.php -------------------------------------------------------------------------------- /src/Exception/LLMException/ErrorHandlerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/ErrorHandlerInterface.php -------------------------------------------------------------------------------- /src/Exception/LLMException/ErrorMapping.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/ErrorMapping.php -------------------------------------------------------------------------------- /src/Exception/LLMException/ErrorMappingManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/ErrorMappingManager.php -------------------------------------------------------------------------------- /src/Exception/LLMException/ErrorMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/ErrorMessage.php -------------------------------------------------------------------------------- /src/Exception/LLMException/LLMApiException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/LLMApiException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/LLMConfigurationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/LLMConfigurationException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/LLMErrorHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/LLMErrorHandler.php -------------------------------------------------------------------------------- /src/Exception/LLMException/LLMModelException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/LLMModelException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/LLMNetworkException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/LLMNetworkException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMContentFilterException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMContentFilterException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMContextLengthException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMContextLengthException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMEmbeddingInputTooLargeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMEmbeddingInputTooLargeException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMEmbeddingNotSupportedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMEmbeddingNotSupportedException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMFunctionCallNotSupportedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMFunctionCallNotSupportedException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMImageUrlAccessException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMImageUrlAccessException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMModalityNotSupportedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMModalityNotSupportedException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Model/LLMUnsupportedImageFormatException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Model/LLMUnsupportedImageFormatException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Network/LLMConnectionTimeoutException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Network/LLMConnectionTimeoutException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Network/LLMReadTimeoutException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Network/LLMReadTimeoutException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Network/LLMStreamTimeoutException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Network/LLMStreamTimeoutException.php -------------------------------------------------------------------------------- /src/Exception/LLMException/Network/LLMThinkingStreamTimeoutException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/LLMException/Network/LLMThinkingStreamTimeoutException.php -------------------------------------------------------------------------------- /src/Exception/McpException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/McpException.php -------------------------------------------------------------------------------- /src/Exception/OdinException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/OdinException.php -------------------------------------------------------------------------------- /src/Exception/RuntimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/RuntimeException.php -------------------------------------------------------------------------------- /src/Exception/ToolParameterValidationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Exception/ToolParameterValidationException.php -------------------------------------------------------------------------------- /src/Factory/ClientFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Factory/ClientFactory.php -------------------------------------------------------------------------------- /src/Factory/ModelFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Factory/ModelFactory.php -------------------------------------------------------------------------------- /src/Knowledge/Knowledge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Knowledge/Knowledge.php -------------------------------------------------------------------------------- /src/Loader/Loader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Loader/Loader.php -------------------------------------------------------------------------------- /src/Logger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Logger.php -------------------------------------------------------------------------------- /src/Mcp/McpServerConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Mcp/McpServerConfig.php -------------------------------------------------------------------------------- /src/Mcp/McpServerManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Mcp/McpServerManager.php -------------------------------------------------------------------------------- /src/Mcp/McpType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Mcp/McpType.php -------------------------------------------------------------------------------- /src/Memory/Driver/InMemoryDriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Driver/InMemoryDriver.php -------------------------------------------------------------------------------- /src/Memory/MemoryManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/MemoryManager.php -------------------------------------------------------------------------------- /src/Memory/MemoryOptimizer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/MemoryOptimizer.php -------------------------------------------------------------------------------- /src/Memory/MemorySummarizer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/MemorySummarizer.php -------------------------------------------------------------------------------- /src/Memory/MessageHistory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/MessageHistory.php -------------------------------------------------------------------------------- /src/Memory/Policy/AbstractPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Policy/AbstractPolicy.php -------------------------------------------------------------------------------- /src/Memory/Policy/CompositePolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Policy/CompositePolicy.php -------------------------------------------------------------------------------- /src/Memory/Policy/LimitCountPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Policy/LimitCountPolicy.php -------------------------------------------------------------------------------- /src/Memory/Policy/RelevancyPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Policy/RelevancyPolicy.php -------------------------------------------------------------------------------- /src/Memory/Policy/SummarizationPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Policy/SummarizationPolicy.php -------------------------------------------------------------------------------- /src/Memory/Policy/TimeWindowPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Policy/TimeWindowPolicy.php -------------------------------------------------------------------------------- /src/Memory/Policy/TokenLimitPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/Policy/TokenLimitPolicy.php -------------------------------------------------------------------------------- /src/Memory/PolicyRegistry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Memory/PolicyRegistry.php -------------------------------------------------------------------------------- /src/Message/AbstractMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/AbstractMessage.php -------------------------------------------------------------------------------- /src/Message/AssistantMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/AssistantMessage.php -------------------------------------------------------------------------------- /src/Message/CachePoint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/CachePoint.php -------------------------------------------------------------------------------- /src/Message/Role.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/Role.php -------------------------------------------------------------------------------- /src/Message/SystemMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/SystemMessage.php -------------------------------------------------------------------------------- /src/Message/ToolMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/ToolMessage.php -------------------------------------------------------------------------------- /src/Message/UserMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/UserMessage.php -------------------------------------------------------------------------------- /src/Message/UserMessageContent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Message/UserMessageContent.php -------------------------------------------------------------------------------- /src/Model/AbstractModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/AbstractModel.php -------------------------------------------------------------------------------- /src/Model/AwsBedrockModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/AwsBedrockModel.php -------------------------------------------------------------------------------- /src/Model/AzureOpenAIModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/AzureOpenAIModel.php -------------------------------------------------------------------------------- /src/Model/ChatglmModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/ChatglmModel.php -------------------------------------------------------------------------------- /src/Model/DashScopeModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/DashScopeModel.php -------------------------------------------------------------------------------- /src/Model/DoubaoModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/DoubaoModel.php -------------------------------------------------------------------------------- /src/Model/Embedding.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/Embedding.php -------------------------------------------------------------------------------- /src/Model/GeminiModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/GeminiModel.php -------------------------------------------------------------------------------- /src/Model/ModelOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/ModelOptions.php -------------------------------------------------------------------------------- /src/Model/OllamaModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/OllamaModel.php -------------------------------------------------------------------------------- /src/Model/OpenAIModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/OpenAIModel.php -------------------------------------------------------------------------------- /src/Model/QianFanModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/QianFanModel.php -------------------------------------------------------------------------------- /src/Model/RWKVModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Model/RWKVModel.php -------------------------------------------------------------------------------- /src/ModelMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/ModelMapper.php -------------------------------------------------------------------------------- /src/Prompt/AbstractPromptTemplate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/AbstractPromptTemplate.php -------------------------------------------------------------------------------- /src/Prompt/AfterCodeExecuted.prompt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/AfterCodeExecuted.prompt -------------------------------------------------------------------------------- /src/Prompt/CodeInterpreter.prompt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/CodeInterpreter.prompt -------------------------------------------------------------------------------- /src/Prompt/DataAnalyzePromptTemplate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/DataAnalyzePromptTemplate.php -------------------------------------------------------------------------------- /src/Prompt/DefaultSystemMessage.prompt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/DefaultSystemMessage.prompt -------------------------------------------------------------------------------- /src/Prompt/InterpreterPromptTemplate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/InterpreterPromptTemplate.php -------------------------------------------------------------------------------- /src/Prompt/KnowledgeAutoQA.prompt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/KnowledgeAutoQA.prompt -------------------------------------------------------------------------------- /src/Prompt/OpenAIToolsAgentPrompt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/OpenAIToolsAgentPrompt.php -------------------------------------------------------------------------------- /src/Prompt/Prompt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/Prompt.php -------------------------------------------------------------------------------- /src/Prompt/PromptInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/PromptInterface.php -------------------------------------------------------------------------------- /src/Prompt/code-interpreter.prompt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Prompt/code-interpreter.prompt -------------------------------------------------------------------------------- /src/TextSplitter/CharacterTextSplitter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/TextSplitter/CharacterTextSplitter.php -------------------------------------------------------------------------------- /src/TextSplitter/RecursiveCharacterTextSplitter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/TextSplitter/RecursiveCharacterTextSplitter.php -------------------------------------------------------------------------------- /src/TextSplitter/TextSplitter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/TextSplitter/TextSplitter.php -------------------------------------------------------------------------------- /src/Tool/AbstractTool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/AbstractTool.php -------------------------------------------------------------------------------- /src/Tool/Definition/ParameterConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/Definition/ParameterConverter.php -------------------------------------------------------------------------------- /src/Tool/Definition/Schema/JsonSchemaBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/Definition/Schema/JsonSchemaBuilder.php -------------------------------------------------------------------------------- /src/Tool/Definition/Schema/JsonSchemaValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/Definition/Schema/JsonSchemaValidator.php -------------------------------------------------------------------------------- /src/Tool/Definition/Schema/SchemaValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/Definition/Schema/SchemaValidator.php -------------------------------------------------------------------------------- /src/Tool/Definition/ToolDefinition.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/Definition/ToolDefinition.php -------------------------------------------------------------------------------- /src/Tool/Definition/ToolParameter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/Definition/ToolParameter.php -------------------------------------------------------------------------------- /src/Tool/Definition/ToolParameters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Tool/Definition/ToolParameters.php -------------------------------------------------------------------------------- /src/Utils/EventUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/EventUtil.php -------------------------------------------------------------------------------- /src/Utils/ImageDownloader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/ImageDownloader.php -------------------------------------------------------------------------------- /src/Utils/ImageFormatValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/ImageFormatValidator.php -------------------------------------------------------------------------------- /src/Utils/LogUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/LogUtil.php -------------------------------------------------------------------------------- /src/Utils/LoggingConfigHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/LoggingConfigHelper.php -------------------------------------------------------------------------------- /src/Utils/MessageUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/MessageUtil.php -------------------------------------------------------------------------------- /src/Utils/ModelUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/ModelUtil.php -------------------------------------------------------------------------------- /src/Utils/TimeUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/TimeUtil.php -------------------------------------------------------------------------------- /src/Utils/TokenEstimator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/TokenEstimator.php -------------------------------------------------------------------------------- /src/Utils/ToolUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/ToolUtil.php -------------------------------------------------------------------------------- /src/Utils/VisionMessageValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Utils/VisionMessageValidator.php -------------------------------------------------------------------------------- /src/VectorStore/Qdrant/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/VectorStore/Qdrant/Config.php -------------------------------------------------------------------------------- /src/VectorStore/Qdrant/Qdrant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/VectorStore/Qdrant/Qdrant.php -------------------------------------------------------------------------------- /src/VectorStore/Qdrant/QdrantFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/VectorStore/Qdrant/QdrantFactory.php -------------------------------------------------------------------------------- /src/Wrapper/TavilySearchApiWrapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperf/odin/HEAD/src/Wrapper/TavilySearchApiWrapper.php --------------------------------------------------------------------------------