-
-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Client Documentation to /integrations/ #1190
Conversation
- Move all client docs from /hub/clients/ to /integrations/ - Update mkdocs.yml navigation structure - Add test files for client examples - Document streaming limitations - Add .env.tests for missing API keys - Clean up old client documentation files Link to Devin run: https://preview.devin.ai/devin/89a9e436607c4cbea0bf1a301d3168a5
- Add llama wrapper for testing - Add setup.py for test dependencies - Improve error handling in Fireworks client
Deploying instructor-py with Cloudflare Pages
|
- Remove unused imports - Update type annotations to modern syntax - Replace assert False with raise AssertionError - Use _ for unused loop variables
streaming_support.md
Outdated
@@ -0,0 +1,12 @@ | |||
# Client Streaming Support Matrix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this
test_results.md
Outdated
@@ -0,0 +1,42 @@ | |||
# Instructor Integration Test Results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this
test_clients/anthropic_test.py
Outdated
@@ -0,0 +1,66 @@ | |||
import os |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont include any of the test_clients files
- Remove test_clients directory as requested - Remove test_results.md and streaming_support.md - Focus PR on documentation changes only
- Remove llama_wrapper.py (test infrastructure) - Remove setup.py (test dependencies) - Remove .env.tests - Restore client_fireworks.py to main version - Keep only documentation changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make sure all the tieles and files are set correctly
mkdocs.yml
Outdated
@@ -209,6 +201,21 @@ nav: | |||
- Generating Knowledge Graphs with Structured Outputs: 'hub/knowledge_graph.md' | |||
- Extracting Relevant Clips from YouTube Videos: "hub/youtube_clips.md" | |||
- Building Knowledge Graphs with Structured Outputs: 'tutorials/5-knowledge-graphs.ipynb' | |||
- Integrations: | |||
- Structured outputs with Anyscale: 'integrations/anyscale.md' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just make this "Anthropic" and remove the structured output refereces
set the title in the md file
- Structured Outputs with Anyscale: 'hub/anyscale.md' | ||
- Structured Outputs with Groq: 'hub/groq.md' | ||
- Structured Outputs with Mistral: 'hub/mistral.md' | ||
- Structured Outputs with Cohere: 'hub/cohere.md' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create a redirect map for the deleted stuff, using the mkdocs redirect map features
|
||
## Updates and Compatibility | ||
|
||
Instructor maintains compatibility with Vertex AI's latest API versions. Check the [changelog](../../CHANGELOG.md) for updates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove all references to change log
docs/integrations/openai.md
Outdated
- Document Analysis | ||
- Configuration Generation | ||
|
||
## Troubleshooting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove all trouble shotting examples in all docs
…itles and add redirect maps - Remove troubleshooting sections from all integration docs - Remove 'Structured outputs with' prefix from navigation titles - Add redirect maps for moved documentation pages - Clean up documentation structure
Move Client Documentation to /integrations/
This PR moves all client documentation from /hub/clients/ to /integrations/ and implements comprehensive documentation updates.
Changes
Documentation Updates
Streaming Support Documentation
Testing
Link to Devin run: https://preview.devin.ai/devin/89a9e436607c4cbea0bf1a301d3168a5
If you have any feedback, you can leave comments in the PR and I'll address them in the app!