airtrain 0.1.17__tar.gz → 0.1.24__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. airtrain-0.1.24/MANIFEST.in +3 -0
  2. {airtrain-0.1.17/airtrain.egg-info → airtrain-0.1.24}/PKG-INFO +15 -1
  3. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/__init__.py +1 -1
  4. {airtrain-0.1.17 → airtrain-0.1.24/airtrain.egg-info}/PKG-INFO +15 -1
  5. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain.egg-info/SOURCES.txt +2 -0
  6. airtrain-0.1.24/changelog.md +16 -0
  7. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/fireworks/conversation_history_test.py +1 -1
  8. {airtrain-0.1.17 → airtrain-0.1.24}/scripts/release.py +35 -3
  9. {airtrain-0.1.17 → airtrain-0.1.24}/setup.py +19 -21
  10. {airtrain-0.1.17 → airtrain-0.1.24}/.flake8 +0 -0
  11. {airtrain-0.1.17 → airtrain-0.1.24}/.github/workflows/publish.yml +0 -0
  12. {airtrain-0.1.17 → airtrain-0.1.24}/.gitignore +0 -0
  13. {airtrain-0.1.17 → airtrain-0.1.24}/.mypy.ini +0 -0
  14. {airtrain-0.1.17 → airtrain-0.1.24}/.pre-commit-config.yaml +0 -0
  15. {airtrain-0.1.17 → airtrain-0.1.24}/.vscode/extensions.json +0 -0
  16. {airtrain-0.1.17 → airtrain-0.1.24}/.vscode/launch.json +0 -0
  17. {airtrain-0.1.17 → airtrain-0.1.24}/.vscode/settings.json +0 -0
  18. {airtrain-0.1.17 → airtrain-0.1.24}/EXPERIMENTS/integrations_examples/anthropic_with_image.py +0 -0
  19. {airtrain-0.1.17 → airtrain-0.1.24}/EXPERIMENTS/schema_exps/pydantic_schemas.py +0 -0
  20. {airtrain-0.1.17 → airtrain-0.1.24}/README.md +0 -0
  21. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/agents/travel/agents.py +0 -0
  22. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/agents/travel/models.py +0 -0
  23. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/contrib/__init__.py +0 -0
  24. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/contrib/travel/__init__.py +0 -0
  25. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/contrib/travel/agentlib/verification_agent.py +0 -0
  26. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/contrib/travel/agents.py +0 -0
  27. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/contrib/travel/modellib/verification.py +0 -0
  28. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/contrib/travel/models.py +0 -0
  29. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/core/__init__.py +0 -0
  30. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/core/__pycache__/credentials.cpython-310.pyc +0 -0
  31. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/core/__pycache__/schemas.cpython-310.pyc +0 -0
  32. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/core/__pycache__/skills.cpython-310.pyc +0 -0
  33. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/core/credentials.py +0 -0
  34. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/core/schemas.py +0 -0
  35. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/core/skills.py +0 -0
  36. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/__init__.py +0 -0
  37. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/anthropic/__init__.py +0 -0
  38. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/anthropic/credentials.py +0 -0
  39. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/anthropic/skills.py +0 -0
  40. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/aws/__init__.py +0 -0
  41. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/aws/credentials.py +0 -0
  42. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/aws/skills.py +0 -0
  43. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/cerebras/__init__.py +0 -0
  44. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/cerebras/credentials.py +0 -0
  45. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/cerebras/skills.py +0 -0
  46. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/fireworks/__init__.py +0 -0
  47. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/fireworks/conversation_manager.py +0 -0
  48. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/fireworks/credentials.py +0 -0
  49. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/fireworks/models.py +0 -0
  50. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/fireworks/skills.py +0 -0
  51. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/google/__init__.py +0 -0
  52. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/google/credentials.py +0 -0
  53. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/google/gemini/conversation_history_test.py +0 -0
  54. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/google/gemini/credentials.py +0 -0
  55. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/google/gemini/skills.py +0 -0
  56. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/google/skills.py +0 -0
  57. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/groq/__init__.py +0 -0
  58. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/groq/credentials.py +0 -0
  59. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/groq/skills.py +0 -0
  60. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/ollama/__init__.py +0 -0
  61. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/ollama/credentials.py +0 -0
  62. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/ollama/skills.py +0 -0
  63. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/openai/__init__.py +0 -0
  64. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/openai/chinese_assistant.py +0 -0
  65. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/openai/credentials.py +0 -0
  66. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/openai/models_config.py +0 -0
  67. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/openai/skills.py +0 -0
  68. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/sambanova/__init__.py +0 -0
  69. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/sambanova/credentials.py +0 -0
  70. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/sambanova/skills.py +0 -0
  71. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/__init__.py +0 -0
  72. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/audio_models_config.py +0 -0
  73. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/credentials.py +0 -0
  74. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/embedding_models_config.py +0 -0
  75. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/image_models_config.py +0 -0
  76. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/image_skill.py +0 -0
  77. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/models.py +0 -0
  78. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/models_config.py +0 -0
  79. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/rerank_models_config.py +0 -0
  80. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/rerank_skill.py +0 -0
  81. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/schemas.py +0 -0
  82. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/skills.py +0 -0
  83. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain/integrations/together/vision_models_config.py +0 -0
  84. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain.egg-info/dependency_links.txt +0 -0
  85. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain.egg-info/requires.txt +0 -0
  86. {airtrain-0.1.17 → airtrain-0.1.24}/airtrain.egg-info/top_level.txt +0 -0
  87. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/anthropic_skills_usage.py +0 -0
  88. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/chinese_anthropic_assistant.py +0 -0
  89. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/chinese_anthropic_usage.py +0 -0
  90. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/chinese_assistant_usage.py +0 -0
  91. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/fireworks_skills_usage.py +0 -0
  92. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/icon128.png +0 -0
  93. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/icon16.png +0 -0
  94. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/image1.jpg +0 -0
  95. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/image2.jpg +0 -0
  96. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/openai_skills.py +0 -0
  97. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/openai_skills_usage.py +0 -0
  98. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/openai_structured_skills.py +0 -0
  99. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/together_rerank_skills.py +0 -0
  100. {airtrain-0.1.17 → airtrain-0.1.24}/examples/creating-skills/together_rerank_skills_async.py +0 -0
  101. {airtrain-0.1.17 → airtrain-0.1.24}/examples/credentials_usage.py +0 -0
  102. {airtrain-0.1.17 → airtrain-0.1.24}/examples/images/quantum-circuit.png +0 -0
  103. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/anthropic/chat_example.py +0 -0
  104. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/anthropic/chinese_example.py +0 -0
  105. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/anthropic/conversation_history_test.py +0 -0
  106. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/anthropic/vision_example.py +0 -0
  107. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/cerebras/conversation_history_test.py +0 -0
  108. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/fireworks/chat_example.py +0 -0
  109. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/fireworks/structured_chat_example.py +0 -0
  110. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/google/conversation_history_test.py +0 -0
  111. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/google/gemini/conversation_history_test.py +0 -0
  112. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/groq/conversation_history_test.py +0 -0
  113. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/openai/chat_example.py +0 -0
  114. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/openai/parser_example.py +0 -0
  115. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/openai/vision_example.py +0 -0
  116. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/sambanova/conversation_history_test.py +0 -0
  117. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/together/chat_example.py +0 -0
  118. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/together/conversation_history_test.py +0 -0
  119. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/together/image_generation_example.py +0 -0
  120. {airtrain-0.1.17 → airtrain-0.1.24}/examples/integrations/together/rerank_example.py +0 -0
  121. {airtrain-0.1.17 → airtrain-0.1.24}/examples/schema_usage.py +0 -0
  122. {airtrain-0.1.17 → airtrain-0.1.24}/examples/skill_usage.py +0 -0
  123. {airtrain-0.1.17 → airtrain-0.1.24}/examples/together/image_generation.py +0 -0
  124. {airtrain-0.1.17 → airtrain-0.1.24}/examples/together/image_generation_example.py +0 -0
  125. {airtrain-0.1.17 → airtrain-0.1.24}/examples/travel/verification_agent_usage.py +0 -0
  126. {airtrain-0.1.17 → airtrain-0.1.24}/pyproject.toml +0 -0
  127. {airtrain-0.1.17 → airtrain-0.1.24}/requirements.txt +0 -0
  128. {airtrain-0.1.17 → airtrain-0.1.24}/scripts/build.sh +0 -0
  129. {airtrain-0.1.17 → airtrain-0.1.24}/scripts/bump_version.py +0 -0
  130. {airtrain-0.1.17 → airtrain-0.1.24}/scripts/publish.sh +0 -0
  131. {airtrain-0.1.17 → airtrain-0.1.24}/services/firebase_service.py +0 -0
  132. {airtrain-0.1.17 → airtrain-0.1.24}/services/openai_service.py +0 -0
  133. {airtrain-0.1.17 → airtrain-0.1.24}/setup.cfg +0 -0
@@ -0,0 +1,3 @@
1
+ include changelog.md
2
+ include README.md
3
+ include requirements.txt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: airtrain
3
- Version: 0.1.17
3
+ Version: 0.1.24
4
4
  Summary: A platform for building and deploying AI agents with structured skills
5
5
  Home-page: https://github.com/rosaboyle/airtrain.dev
6
6
  Author: Dheeraj Pai
@@ -167,3 +167,17 @@ Contributions are welcome! Please feel free to submit a Pull Request.
167
167
  ## License
168
168
 
169
169
  This project is licensed under the MIT License - see the LICENSE file for details.
170
+
171
+ ## Changelog
172
+
173
+
174
+ ## 0.1.15
175
+
176
+ - Added conversation support for Deepseek, Togehter AI, Fireworks AI, Gemini, Groq, Cerebras and Sambanova.
177
+ - Added Change Log
178
+
179
+
180
+ ## Notes
181
+
182
+ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
183
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -1,6 +1,6 @@
1
1
  """Airtrain - A platform for building and deploying AI agents with structured skills"""
2
2
 
3
- __version__ = "0.1.17"
3
+ __version__ = "0.1.24"
4
4
 
5
5
  # Core imports
6
6
  from .core.skills import Skill, ProcessingError
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: airtrain
3
- Version: 0.1.17
3
+ Version: 0.1.24
4
4
  Summary: A platform for building and deploying AI agents with structured skills
5
5
  Home-page: https://github.com/rosaboyle/airtrain.dev
6
6
  Author: Dheeraj Pai
@@ -167,3 +167,17 @@ Contributions are welcome! Please feel free to submit a Pull Request.
167
167
  ## License
168
168
 
169
169
  This project is licensed under the MIT License - see the LICENSE file for details.
170
+
171
+ ## Changelog
172
+
173
+
174
+ ## 0.1.15
175
+
176
+ - Added conversation support for Deepseek, Togehter AI, Fireworks AI, Gemini, Groq, Cerebras and Sambanova.
177
+ - Added Change Log
178
+
179
+
180
+ ## Notes
181
+
182
+ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
183
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -2,7 +2,9 @@
2
2
  .gitignore
3
3
  .mypy.ini
4
4
  .pre-commit-config.yaml
5
+ MANIFEST.in
5
6
  README.md
7
+ changelog.md
6
8
  pyproject.toml
7
9
  requirements.txt
8
10
  setup.py
@@ -0,0 +1,16 @@
1
+ ---
2
+ sidebar_position: 9
3
+ ---
4
+
5
+ # Changelog
6
+
7
+ ## 0.1.15
8
+
9
+ - Added conversation support for Deepseek, Togehter AI, Fireworks AI, Gemini, Groq, Cerebras and Sambanova.
10
+ - Added Change Log
11
+
12
+
13
+ ## Notes
14
+
15
+ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
16
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -66,7 +66,7 @@ def main():
66
66
  print(f"\n--- Turn {turn_number} ---")
67
67
  print(f"User: {user_input}\n")
68
68
 
69
- # Get assistant's response
69
+ # Get assistant's response``
70
70
  assistant_response = run_conversation(
71
71
  skill, user_input, system_prompt, conversation_history
72
72
  )
@@ -1,6 +1,7 @@
1
1
  import os
2
2
  import subprocess
3
3
  import sys
4
+ import shutil
4
5
  from bump_version import main as bump_version
5
6
 
6
7
 
@@ -14,6 +15,34 @@ def run_command(command, error_message):
14
15
  sys.exit(1)
15
16
 
16
17
 
18
+ def copy_changelog():
19
+ """Copy changelog from docs to package directory"""
20
+ print("\n📋 Copying changelog...")
21
+ try:
22
+ # Get the absolute path to the script's directory
23
+ script_dir = os.path.dirname(os.path.abspath(__file__))
24
+
25
+ # Construct paths for source and destination
26
+ source_path = os.path.abspath(
27
+ os.path.join(script_dir, "..", "..", "docs", "changelog.md")
28
+ )
29
+ dest_path = os.path.abspath(
30
+ os.path.join(script_dir, "..", "airtrain", "changelog.md")
31
+ )
32
+
33
+ # Copy the file
34
+ shutil.copy2(source_path, dest_path)
35
+ print(f"Changelog copied from {source_path} to {dest_path}")
36
+
37
+ # Verify the file exists after copying
38
+ if not os.path.exists(dest_path):
39
+ raise FileNotFoundError(f"Failed to copy changelog to {dest_path}")
40
+
41
+ except Exception as e:
42
+ print(f"Error copying changelog: {str(e)}")
43
+ sys.exit(1)
44
+
45
+
17
46
  def clean_builds():
18
47
  """Clean previous build artifacts"""
19
48
  print("\n🧹 Cleaning previous builds...")
@@ -40,13 +69,16 @@ def main():
40
69
  print("🔼 Bumping version...")
41
70
  bump_version()
42
71
 
43
- # 2. Clean previous builds
72
+ # 2. Copy changelog
73
+ copy_changelog()
74
+
75
+ # 3. Clean previous builds
44
76
  clean_builds()
45
77
 
46
- # 3. Build package
78
+ # 4. Build package
47
79
  build_package()
48
80
 
49
- # 4. Upload to PyPI
81
+ # 5. Upload to PyPI
50
82
  upload_to_pypi()
51
83
 
52
84
  print("\n✨ Release completed successfully!")
@@ -15,34 +15,32 @@ def get_version():
15
15
  raise RuntimeError("Unable to find version string.")
16
16
 
17
17
 
18
- # def get_changelog() -> str:
19
- # """Read the changelog content from absolute path."""
20
- # # Get the absolute path to the setup.py directory
21
- # setup_dir = os.path.dirname(os.path.abspath(__file__))
22
- # changelog_path = os.path.abspath(
23
- # os.path.join(setup_dir, "..", "docs", "changelog.md")
24
- # )
18
+ def get_changelog() -> str:
19
+ """Read the changelog content from absolute path."""
20
+ # Get the absolute path to the setup.py directory
21
+ setup_dir = os.path.dirname(os.path.abspath(__file__))
22
+ changelog_path = os.path.abspath(os.path.join(setup_dir, "changelog.md"))
25
23
 
26
- # with open(changelog_path, "r", encoding="utf-8") as f:
27
- # # Skip the frontmatter and title
28
- # lines = f.readlines()
29
- # changelog_content = []
30
- # skip_frontmatter = False
31
- # for line in lines:
32
- # if line.strip() == "---":
33
- # skip_frontmatter = not skip_frontmatter
34
- # continue
35
- # if not skip_frontmatter and not line.startswith("# Changelog"):
36
- # changelog_content.append(line)
37
- # return "".join(changelog_content)
24
+ with open(changelog_path, "r", encoding="utf-8") as f:
25
+ # Skip the frontmatter and title
26
+ lines = f.readlines()
27
+ changelog_content = []
28
+ skip_frontmatter = False
29
+ for line in lines:
30
+ if line.strip() == "---":
31
+ skip_frontmatter = not skip_frontmatter
32
+ continue
33
+ if not skip_frontmatter and not line.startswith("# Changelog"):
34
+ changelog_content.append(line)
35
+ return "".join(changelog_content)
38
36
 
39
37
 
40
38
  with open("README.md", "r", encoding="utf-8") as fh:
41
39
  long_description = fh.read()
42
40
 
43
41
  # Combine README and Changelog
44
- full_description = f"{long_description}"
45
- # full_description = f"{long_description}\n\n## Changelog\n{get_changelog()}"
42
+
43
+ full_description = f"{long_description}\n\n## Changelog\n{get_changelog()}"
46
44
 
47
45
  setup(
48
46
  name="airtrain",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes