├── .env.example ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── integration_tests ├── env_variable_names.py ├── helpers.py ├── samples │ ├── demo │ │ └── demo.py │ ├── doc │ │ └── doc.py │ ├── short_mode │ │ └── test.py │ └── socket_mode │ │ ├── websocket_client_example_another.py │ │ ├── websocket_client_example_ase.py │ │ └── websocket_client_example_intactive.py └── sparkai │ └── memory │ └── test_memory.py ├── log.jpg ├── pyproject.toml ├── sparkai ├── __init__.py ├── core │ ├── __init__.py │ ├── _api │ │ ├── __init__.py │ │ ├── beta_decorator.py │ │ ├── deprecation.py │ │ ├── internal.py │ │ └── path.py │ ├── _base_api.py │ ├── caches.py │ ├── callbacks │ │ ├── __init__.py │ │ ├── base.py │ │ ├── manager.py │ │ ├── stdout.py │ │ └── streaming_stdout.py │ ├── globals │ │ └── __init__.py │ ├── language_models │ │ ├── __init__.py │ │ ├── base.py │ │ ├── chat_models.py │ │ └── llms.py │ ├── load │ │ ├── __init__.py │ │ ├── dump.py │ │ ├── load.py │ │ ├── mapping.py │ │ └── serializable.py │ ├── messages │ │ ├── __init__.py │ │ ├── ai.py │ │ ├── base.py │ │ ├── chat.py │ │ ├── function.py │ │ ├── human.py │ │ ├── image_chat.py │ │ ├── system.py │ │ └── tool.py │ ├── outputs │ │ ├── __init__.py │ │ ├── chat_generation.py │ │ ├── chat_result.py │ │ ├── generation.py │ │ ├── llm_result.py │ │ └── run_info.py │ ├── prompt_values.py │ ├── prompts │ │ ├── __init__.py │ │ ├── base.py │ │ ├── chat.py │ │ ├── few_shot.py │ │ ├── few_shot_with_templates.py │ │ ├── image.py │ │ ├── loading.py │ │ ├── pipeline.py │ │ ├── prompt.py │ │ └── string.py │ ├── pydantic_v1 │ │ ├── __init__.py │ │ ├── dataclasses.py │ │ └── main.py │ ├── runnables │ │ ├── __init__.py │ │ ├── base.py │ │ ├── branch.py │ │ ├── config.py │ │ ├── configurable.py │ │ ├── fallbacks.py │ │ ├── graph.py │ │ ├── graph_draw.py │ │ ├── history.py │ │ ├── passthrough.py │ │ ├── retry.py │ │ ├── router.py │ │ ├── schema.py │ │ └── utils.py │ ├── tools.py │ ├── tracers │ │ ├── __init__.py │ │ ├── base.py │ │ ├── context.py │ │ ├── evaluation.py │ │ ├── langchain.py │ │ ├── langchain_v1.py │ │ ├── log_stream.py │ │ ├── memory_stream.py │ │ ├── root_listeners.py │ │ ├── run_collector.py │ │ ├── schemas.py │ │ └── stdout.py │ └── utils │ │ ├── __init__.py │ │ ├── _merge.py │ │ ├── aiter.py │ │ ├── env.py │ │ ├── formatting.py │ │ ├── function_calling.py │ │ ├── html.py │ │ ├── image.py │ │ ├── input.py │ │ ├── interactive_env.py │ │ ├── iter.py │ │ ├── json_schema.py │ │ ├── loading.py │ │ ├── pydantic.py │ │ ├── strings.py │ │ └── utils.py ├── deprecation.py ├── depreciated │ ├── __init__.py │ ├── client │ │ ├── __init__.py │ │ ├── llm.py │ │ └── sample_langchain_spark.py │ └── service │ │ ├── __init__.py │ │ ├── api_server.py │ │ └── spark_ws.py ├── embedding │ ├── __init__.py │ ├── spark_embedding.py │ └── sparkai_base.py ├── errors │ └── __init__.py ├── exceptions.py ├── frameworks │ ├── __init__.py │ ├── autogen │ │ └── __init__.py │ └── llama_index │ │ └── __init__.py ├── http_retry │ ├── __init__.py │ ├── async_handler.py │ ├── builtin_async_handlers.py │ ├── builtin_handlers.py │ ├── builtin_interval_calculators.py │ ├── handler.py │ ├── interval_calculator.py │ ├── jitter.py │ ├── request.py │ ├── response.py │ └── state.py ├── llm │ ├── __init__.py │ └── llm.py ├── log │ ├── __init__.py │ └── logger.py ├── memory │ ├── __init__.py │ ├── buffer.py │ ├── buffer_window.py │ ├── chat_memory.py │ ├── chat_message_histories │ │ ├── __init__.py │ │ ├── dynamodb.py │ │ ├── file.py │ │ ├── in_memory.py │ │ ├── postgres.py │ │ └── redis.py │ ├── combined.py │ ├── readonly.py │ ├── simple.py │ ├── token_buffer.py │ └── utils.py ├── messages.py ├── models │ ├── __init__.py │ ├── basic_objects.py │ └── chat │ │ └── __init__.py ├── prompts │ └── classification │ │ └── __init__.py ├── proxy_env_variable_loader.py ├── schema.py ├── socket_mode │ ├── __init__.py │ ├── client.py │ ├── interval_runner.py │ ├── listeners.py │ ├── request.py │ ├── response.py │ └── websocket_client │ │ └── __init__.py ├── spark_proxy │ ├── generate_message.py │ ├── generate_stream.py │ ├── main.py │ ├── openai_types.py │ ├── server.py │ ├── spark_api.py │ └── spark_auth.py ├── v2 │ ├── __init__.py │ ├── client │ │ ├── __init__.py │ │ ├── common │ │ │ ├── __init__.py │ │ │ └── consts.py │ │ ├── http │ │ │ └── __init__.py │ │ └── ws │ │ │ └── __init__.py │ ├── core │ │ └── __init__.py │ └── llm │ │ └── __init__.py ├── version.py └── xf_util.py ├── tests ├── embedding_test │ ├── embedding_test.py │ └── test_llama.py ├── examples │ ├── docs │ │ ├── agent_artchitect.png │ │ ├── agents.png │ │ ├── autogen_grouchat_with_graph.md │ │ ├── llama-index.png │ │ ├── llama_index.md │ │ ├── proxy_open_ai.md │ │ ├── test_openai_proxy.py │ │ └── token_usage.png │ ├── llama_index_embedding.png │ ├── llama_index_text.py │ ├── llm_test.py │ └── spark_llama_index.png ├── openai_test │ ├── mock_multi_function.py │ └── multi_function.py └── sparkai_test │ ├── prompts │ ├── wrapper_write_code.txt │ └── wrapper_write_code_spark.txt │ └── wrapper_write.py └── weichat.jpg /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/README.md -------------------------------------------------------------------------------- /integration_tests/env_variable_names.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration_tests/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/helpers.py -------------------------------------------------------------------------------- /integration_tests/samples/demo/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/samples/demo/demo.py -------------------------------------------------------------------------------- /integration_tests/samples/doc/doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/samples/doc/doc.py -------------------------------------------------------------------------------- /integration_tests/samples/short_mode/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/samples/short_mode/test.py -------------------------------------------------------------------------------- /integration_tests/samples/socket_mode/websocket_client_example_another.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/samples/socket_mode/websocket_client_example_another.py -------------------------------------------------------------------------------- /integration_tests/samples/socket_mode/websocket_client_example_ase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/samples/socket_mode/websocket_client_example_ase.py -------------------------------------------------------------------------------- /integration_tests/samples/socket_mode/websocket_client_example_intactive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/samples/socket_mode/websocket_client_example_intactive.py -------------------------------------------------------------------------------- /integration_tests/sparkai/memory/test_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/integration_tests/sparkai/memory/test_memory.py -------------------------------------------------------------------------------- /log.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/log.jpg -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/pyproject.toml -------------------------------------------------------------------------------- /sparkai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sparkai/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/__init__.py -------------------------------------------------------------------------------- /sparkai/core/_api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/_api/__init__.py -------------------------------------------------------------------------------- /sparkai/core/_api/beta_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/_api/beta_decorator.py -------------------------------------------------------------------------------- /sparkai/core/_api/deprecation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/_api/deprecation.py -------------------------------------------------------------------------------- /sparkai/core/_api/internal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/_api/internal.py -------------------------------------------------------------------------------- /sparkai/core/_api/path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/_api/path.py -------------------------------------------------------------------------------- /sparkai/core/_base_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/_base_api.py -------------------------------------------------------------------------------- /sparkai/core/caches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/caches.py -------------------------------------------------------------------------------- /sparkai/core/callbacks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/callbacks/__init__.py -------------------------------------------------------------------------------- /sparkai/core/callbacks/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/callbacks/base.py -------------------------------------------------------------------------------- /sparkai/core/callbacks/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/callbacks/manager.py -------------------------------------------------------------------------------- /sparkai/core/callbacks/stdout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/callbacks/stdout.py -------------------------------------------------------------------------------- /sparkai/core/callbacks/streaming_stdout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/callbacks/streaming_stdout.py -------------------------------------------------------------------------------- /sparkai/core/globals/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/globals/__init__.py -------------------------------------------------------------------------------- /sparkai/core/language_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/language_models/__init__.py -------------------------------------------------------------------------------- /sparkai/core/language_models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/language_models/base.py -------------------------------------------------------------------------------- /sparkai/core/language_models/chat_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/language_models/chat_models.py -------------------------------------------------------------------------------- /sparkai/core/language_models/llms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/language_models/llms.py -------------------------------------------------------------------------------- /sparkai/core/load/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/load/__init__.py -------------------------------------------------------------------------------- /sparkai/core/load/dump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/load/dump.py -------------------------------------------------------------------------------- /sparkai/core/load/load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/load/load.py -------------------------------------------------------------------------------- /sparkai/core/load/mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/load/mapping.py -------------------------------------------------------------------------------- /sparkai/core/load/serializable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/load/serializable.py -------------------------------------------------------------------------------- /sparkai/core/messages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/__init__.py -------------------------------------------------------------------------------- /sparkai/core/messages/ai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/ai.py -------------------------------------------------------------------------------- /sparkai/core/messages/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/base.py -------------------------------------------------------------------------------- /sparkai/core/messages/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/chat.py -------------------------------------------------------------------------------- /sparkai/core/messages/function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/function.py -------------------------------------------------------------------------------- /sparkai/core/messages/human.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/human.py -------------------------------------------------------------------------------- /sparkai/core/messages/image_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/image_chat.py -------------------------------------------------------------------------------- /sparkai/core/messages/system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/system.py -------------------------------------------------------------------------------- /sparkai/core/messages/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/messages/tool.py -------------------------------------------------------------------------------- /sparkai/core/outputs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/outputs/__init__.py -------------------------------------------------------------------------------- /sparkai/core/outputs/chat_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/outputs/chat_generation.py -------------------------------------------------------------------------------- /sparkai/core/outputs/chat_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/outputs/chat_result.py -------------------------------------------------------------------------------- /sparkai/core/outputs/generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/outputs/generation.py -------------------------------------------------------------------------------- /sparkai/core/outputs/llm_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/outputs/llm_result.py -------------------------------------------------------------------------------- /sparkai/core/outputs/run_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/outputs/run_info.py -------------------------------------------------------------------------------- /sparkai/core/prompt_values.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompt_values.py -------------------------------------------------------------------------------- /sparkai/core/prompts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/__init__.py -------------------------------------------------------------------------------- /sparkai/core/prompts/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/base.py -------------------------------------------------------------------------------- /sparkai/core/prompts/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/chat.py -------------------------------------------------------------------------------- /sparkai/core/prompts/few_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/few_shot.py -------------------------------------------------------------------------------- /sparkai/core/prompts/few_shot_with_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/few_shot_with_templates.py -------------------------------------------------------------------------------- /sparkai/core/prompts/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/image.py -------------------------------------------------------------------------------- /sparkai/core/prompts/loading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/loading.py -------------------------------------------------------------------------------- /sparkai/core/prompts/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/pipeline.py -------------------------------------------------------------------------------- /sparkai/core/prompts/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/prompt.py -------------------------------------------------------------------------------- /sparkai/core/prompts/string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/prompts/string.py -------------------------------------------------------------------------------- /sparkai/core/pydantic_v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/pydantic_v1/__init__.py -------------------------------------------------------------------------------- /sparkai/core/pydantic_v1/dataclasses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/pydantic_v1/dataclasses.py -------------------------------------------------------------------------------- /sparkai/core/pydantic_v1/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/pydantic_v1/main.py -------------------------------------------------------------------------------- /sparkai/core/runnables/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/__init__.py -------------------------------------------------------------------------------- /sparkai/core/runnables/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/base.py -------------------------------------------------------------------------------- /sparkai/core/runnables/branch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/branch.py -------------------------------------------------------------------------------- /sparkai/core/runnables/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/config.py -------------------------------------------------------------------------------- /sparkai/core/runnables/configurable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/configurable.py -------------------------------------------------------------------------------- /sparkai/core/runnables/fallbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/fallbacks.py -------------------------------------------------------------------------------- /sparkai/core/runnables/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/graph.py -------------------------------------------------------------------------------- /sparkai/core/runnables/graph_draw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/graph_draw.py -------------------------------------------------------------------------------- /sparkai/core/runnables/history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/history.py -------------------------------------------------------------------------------- /sparkai/core/runnables/passthrough.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/passthrough.py -------------------------------------------------------------------------------- /sparkai/core/runnables/retry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/retry.py -------------------------------------------------------------------------------- /sparkai/core/runnables/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/router.py -------------------------------------------------------------------------------- /sparkai/core/runnables/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/schema.py -------------------------------------------------------------------------------- /sparkai/core/runnables/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/runnables/utils.py -------------------------------------------------------------------------------- /sparkai/core/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tools.py -------------------------------------------------------------------------------- /sparkai/core/tracers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/__init__.py -------------------------------------------------------------------------------- /sparkai/core/tracers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/base.py -------------------------------------------------------------------------------- /sparkai/core/tracers/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/context.py -------------------------------------------------------------------------------- /sparkai/core/tracers/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/evaluation.py -------------------------------------------------------------------------------- /sparkai/core/tracers/langchain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/langchain.py -------------------------------------------------------------------------------- /sparkai/core/tracers/langchain_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/langchain_v1.py -------------------------------------------------------------------------------- /sparkai/core/tracers/log_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/log_stream.py -------------------------------------------------------------------------------- /sparkai/core/tracers/memory_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/memory_stream.py -------------------------------------------------------------------------------- /sparkai/core/tracers/root_listeners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/root_listeners.py -------------------------------------------------------------------------------- /sparkai/core/tracers/run_collector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/run_collector.py -------------------------------------------------------------------------------- /sparkai/core/tracers/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/schemas.py -------------------------------------------------------------------------------- /sparkai/core/tracers/stdout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/tracers/stdout.py -------------------------------------------------------------------------------- /sparkai/core/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/__init__.py -------------------------------------------------------------------------------- /sparkai/core/utils/_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/_merge.py -------------------------------------------------------------------------------- /sparkai/core/utils/aiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/aiter.py -------------------------------------------------------------------------------- /sparkai/core/utils/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/env.py -------------------------------------------------------------------------------- /sparkai/core/utils/formatting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/formatting.py -------------------------------------------------------------------------------- /sparkai/core/utils/function_calling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/function_calling.py -------------------------------------------------------------------------------- /sparkai/core/utils/html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/html.py -------------------------------------------------------------------------------- /sparkai/core/utils/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/image.py -------------------------------------------------------------------------------- /sparkai/core/utils/input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/input.py -------------------------------------------------------------------------------- /sparkai/core/utils/interactive_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/interactive_env.py -------------------------------------------------------------------------------- /sparkai/core/utils/iter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/iter.py -------------------------------------------------------------------------------- /sparkai/core/utils/json_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/json_schema.py -------------------------------------------------------------------------------- /sparkai/core/utils/loading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/loading.py -------------------------------------------------------------------------------- /sparkai/core/utils/pydantic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/pydantic.py -------------------------------------------------------------------------------- /sparkai/core/utils/strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/strings.py -------------------------------------------------------------------------------- /sparkai/core/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/core/utils/utils.py -------------------------------------------------------------------------------- /sparkai/deprecation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/deprecation.py -------------------------------------------------------------------------------- /sparkai/depreciated/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/depreciated/__init__.py -------------------------------------------------------------------------------- /sparkai/depreciated/client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/depreciated/client/__init__.py -------------------------------------------------------------------------------- /sparkai/depreciated/client/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/depreciated/client/llm.py -------------------------------------------------------------------------------- /sparkai/depreciated/client/sample_langchain_spark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/depreciated/client/sample_langchain_spark.py -------------------------------------------------------------------------------- /sparkai/depreciated/service/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/depreciated/service/__init__.py -------------------------------------------------------------------------------- /sparkai/depreciated/service/api_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/depreciated/service/api_server.py -------------------------------------------------------------------------------- /sparkai/depreciated/service/spark_ws.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/depreciated/service/spark_ws.py -------------------------------------------------------------------------------- /sparkai/embedding/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/embedding/__init__.py -------------------------------------------------------------------------------- /sparkai/embedding/spark_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/embedding/spark_embedding.py -------------------------------------------------------------------------------- /sparkai/embedding/sparkai_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/embedding/sparkai_base.py -------------------------------------------------------------------------------- /sparkai/errors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/errors/__init__.py -------------------------------------------------------------------------------- /sparkai/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/exceptions.py -------------------------------------------------------------------------------- /sparkai/frameworks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/frameworks/__init__.py -------------------------------------------------------------------------------- /sparkai/frameworks/autogen/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/frameworks/autogen/__init__.py -------------------------------------------------------------------------------- /sparkai/frameworks/llama_index/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/frameworks/llama_index/__init__.py -------------------------------------------------------------------------------- /sparkai/http_retry/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/__init__.py -------------------------------------------------------------------------------- /sparkai/http_retry/async_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/async_handler.py -------------------------------------------------------------------------------- /sparkai/http_retry/builtin_async_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/builtin_async_handlers.py -------------------------------------------------------------------------------- /sparkai/http_retry/builtin_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/builtin_handlers.py -------------------------------------------------------------------------------- /sparkai/http_retry/builtin_interval_calculators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/builtin_interval_calculators.py -------------------------------------------------------------------------------- /sparkai/http_retry/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/handler.py -------------------------------------------------------------------------------- /sparkai/http_retry/interval_calculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/interval_calculator.py -------------------------------------------------------------------------------- /sparkai/http_retry/jitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/jitter.py -------------------------------------------------------------------------------- /sparkai/http_retry/request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/request.py -------------------------------------------------------------------------------- /sparkai/http_retry/response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/response.py -------------------------------------------------------------------------------- /sparkai/http_retry/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/http_retry/state.py -------------------------------------------------------------------------------- /sparkai/llm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/llm/__init__.py -------------------------------------------------------------------------------- /sparkai/llm/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/llm/llm.py -------------------------------------------------------------------------------- /sparkai/log/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/log/__init__.py -------------------------------------------------------------------------------- /sparkai/log/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/log/logger.py -------------------------------------------------------------------------------- /sparkai/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/__init__.py -------------------------------------------------------------------------------- /sparkai/memory/buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/buffer.py -------------------------------------------------------------------------------- /sparkai/memory/buffer_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/buffer_window.py -------------------------------------------------------------------------------- /sparkai/memory/chat_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/chat_memory.py -------------------------------------------------------------------------------- /sparkai/memory/chat_message_histories/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/chat_message_histories/__init__.py -------------------------------------------------------------------------------- /sparkai/memory/chat_message_histories/dynamodb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/chat_message_histories/dynamodb.py -------------------------------------------------------------------------------- /sparkai/memory/chat_message_histories/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/chat_message_histories/file.py -------------------------------------------------------------------------------- /sparkai/memory/chat_message_histories/in_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/chat_message_histories/in_memory.py -------------------------------------------------------------------------------- /sparkai/memory/chat_message_histories/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/chat_message_histories/postgres.py -------------------------------------------------------------------------------- /sparkai/memory/chat_message_histories/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/chat_message_histories/redis.py -------------------------------------------------------------------------------- /sparkai/memory/combined.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/combined.py -------------------------------------------------------------------------------- /sparkai/memory/readonly.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/readonly.py -------------------------------------------------------------------------------- /sparkai/memory/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/simple.py -------------------------------------------------------------------------------- /sparkai/memory/token_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/token_buffer.py -------------------------------------------------------------------------------- /sparkai/memory/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/memory/utils.py -------------------------------------------------------------------------------- /sparkai/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/messages.py -------------------------------------------------------------------------------- /sparkai/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/models/__init__.py -------------------------------------------------------------------------------- /sparkai/models/basic_objects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/models/basic_objects.py -------------------------------------------------------------------------------- /sparkai/models/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/models/chat/__init__.py -------------------------------------------------------------------------------- /sparkai/prompts/classification/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/prompts/classification/__init__.py -------------------------------------------------------------------------------- /sparkai/proxy_env_variable_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/proxy_env_variable_loader.py -------------------------------------------------------------------------------- /sparkai/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/schema.py -------------------------------------------------------------------------------- /sparkai/socket_mode/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/socket_mode/__init__.py -------------------------------------------------------------------------------- /sparkai/socket_mode/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/socket_mode/client.py -------------------------------------------------------------------------------- /sparkai/socket_mode/interval_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/socket_mode/interval_runner.py -------------------------------------------------------------------------------- /sparkai/socket_mode/listeners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/socket_mode/listeners.py -------------------------------------------------------------------------------- /sparkai/socket_mode/request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/socket_mode/request.py -------------------------------------------------------------------------------- /sparkai/socket_mode/response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/socket_mode/response.py -------------------------------------------------------------------------------- /sparkai/socket_mode/websocket_client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/socket_mode/websocket_client/__init__.py -------------------------------------------------------------------------------- /sparkai/spark_proxy/generate_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/spark_proxy/generate_message.py -------------------------------------------------------------------------------- /sparkai/spark_proxy/generate_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/spark_proxy/generate_stream.py -------------------------------------------------------------------------------- /sparkai/spark_proxy/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/spark_proxy/main.py -------------------------------------------------------------------------------- /sparkai/spark_proxy/openai_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/spark_proxy/openai_types.py -------------------------------------------------------------------------------- /sparkai/spark_proxy/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/spark_proxy/server.py -------------------------------------------------------------------------------- /sparkai/spark_proxy/spark_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/spark_proxy/spark_api.py -------------------------------------------------------------------------------- /sparkai/spark_proxy/spark_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/spark_proxy/spark_auth.py -------------------------------------------------------------------------------- /sparkai/v2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/v2/__init__.py -------------------------------------------------------------------------------- /sparkai/v2/client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/v2/client/__init__.py -------------------------------------------------------------------------------- /sparkai/v2/client/common/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/v2/client/common/__init__.py -------------------------------------------------------------------------------- /sparkai/v2/client/common/consts.py: -------------------------------------------------------------------------------- 1 | IFLYTEK = "iflytek" 2 | DefaultDomain = "generalv3.5" -------------------------------------------------------------------------------- /sparkai/v2/client/http/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/v2/client/http/__init__.py -------------------------------------------------------------------------------- /sparkai/v2/client/ws/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/v2/client/ws/__init__.py -------------------------------------------------------------------------------- /sparkai/v2/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/v2/core/__init__.py -------------------------------------------------------------------------------- /sparkai/v2/llm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/v2/llm/__init__.py -------------------------------------------------------------------------------- /sparkai/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/version.py -------------------------------------------------------------------------------- /sparkai/xf_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/sparkai/xf_util.py -------------------------------------------------------------------------------- /tests/embedding_test/embedding_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/embedding_test/embedding_test.py -------------------------------------------------------------------------------- /tests/embedding_test/test_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/embedding_test/test_llama.py -------------------------------------------------------------------------------- /tests/examples/docs/agent_artchitect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/agent_artchitect.png -------------------------------------------------------------------------------- /tests/examples/docs/agents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/agents.png -------------------------------------------------------------------------------- /tests/examples/docs/autogen_grouchat_with_graph.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/autogen_grouchat_with_graph.md -------------------------------------------------------------------------------- /tests/examples/docs/llama-index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/llama-index.png -------------------------------------------------------------------------------- /tests/examples/docs/llama_index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/llama_index.md -------------------------------------------------------------------------------- /tests/examples/docs/proxy_open_ai.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/proxy_open_ai.md -------------------------------------------------------------------------------- /tests/examples/docs/test_openai_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/test_openai_proxy.py -------------------------------------------------------------------------------- /tests/examples/docs/token_usage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/docs/token_usage.png -------------------------------------------------------------------------------- /tests/examples/llama_index_embedding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/llama_index_embedding.png -------------------------------------------------------------------------------- /tests/examples/llama_index_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/llama_index_text.py -------------------------------------------------------------------------------- /tests/examples/llm_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/llm_test.py -------------------------------------------------------------------------------- /tests/examples/spark_llama_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/examples/spark_llama_index.png -------------------------------------------------------------------------------- /tests/openai_test/mock_multi_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/openai_test/mock_multi_function.py -------------------------------------------------------------------------------- /tests/openai_test/multi_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/openai_test/multi_function.py -------------------------------------------------------------------------------- /tests/sparkai_test/prompts/wrapper_write_code.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/sparkai_test/prompts/wrapper_write_code.txt -------------------------------------------------------------------------------- /tests/sparkai_test/prompts/wrapper_write_code_spark.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/sparkai_test/prompts/wrapper_write_code_spark.txt -------------------------------------------------------------------------------- /tests/sparkai_test/wrapper_write.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/tests/sparkai_test/wrapper_write.py -------------------------------------------------------------------------------- /weichat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iflytek/spark-ai-python/HEAD/weichat.jpg --------------------------------------------------------------------------------