-
Notifications
You must be signed in to change notification settings - Fork 831
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
chore: update generate fabric doc #2214
chore: update generate fabric doc #2214
Conversation
fabric doc PR preview: https://github.com/MicrosoftDocs/fabric-docs-pr/pull/3984 |
/azp run |
Azure Pipelines failed to run 1 pipeline(s). |
tools/docgen/docgen/channels.py
Outdated
self.input_dir = input_dir | ||
self.output_dir = output_dir | ||
self.notebooks = notebooks | ||
self.output_structure = kwargs.get("output_structure", "hierarchy") |
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.
does it need to be kwargs or can we add an output structure argument explicitly here?
import shutil | ||
|
||
class LearnDocPreprocessor(Preprocessor): | ||
def __init__(self, remove_tags=None, **kwargs): |
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.
nit: perhaps call this tags_to_remove so it doesent get confused as a boolean variable
self.input_dir = self.attributes.get("input_dir", None) # access local images | ||
self.notebook_path = self.attributes.get("notebook_path", None) # access local images |
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.
nit: are these comments still relevant here?
@@ -5,7 +5,7 @@ | |||
"cell_type": "markdown", | |||
"metadata": {}, | |||
"source": [ | |||
"# Classification - before and after SynapseML" | |||
"# Classification tasks- SparkML vs SynapseML" |
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.
"# Classification tasks- SparkML vs SynapseML" | |
"# Classification - SparkML vs SynapseML" |
tools/docgen/docgen/channels.py
Outdated
True, | ||
) | ||
content = self._read_rst(full_input_file) | ||
# TODO: Not tested yet |
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.
this still applicable?
tools/docgen/docgen/manifest.yaml
Outdated
@@ -44,22 +49,22 @@ channels: | |||
- path: Explore Algorithms/Classification/Quickstart - SparkML vs SynapseML.ipynb | |||
filename: classification-before-and-after-synapseml | |||
metadata: | |||
title: Classification - before and after SynapseML | |||
title: Classification tasks using SynapseML |
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.
title: Classification tasks using SynapseML | |
title: Classification using SynapseML |
] | ||
}, | ||
"source": [ | ||
"see our [embedding guide](./Quickstart%20-%20OpenAI%20Embedding)." |
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.
"see our [embedding guide](./Quickstart%20-%20OpenAI%20Embedding)." | |
"For more information on using `OpenAIEmbedding` see our [embedding guide](./Quickstart%20-%20OpenAI%20Embedding)." |
@@ -322,7 +322,18 @@ | |||
"source": [ | |||
"### Generating Text Embeddings\n", | |||
"\n", | |||
"In addition to completing text, we can also embed text for use in downstream algorithms or vector retrieval architectures. Creating embeddings allows you to search and retrieve documents from large collections and can be used when prompt engineering isn't sufficient for the task. For more information on using `OpenAIEmbedding`, see our [embedding guide](./Quickstart%20-%20OpenAI%20Embedding)." | |||
"In addition to completing text, we can also embed text for use in downstream algorithms or vector retrieval architectures. Creating embeddings allows you to search and retrieve documents from large collections and can be used when prompt engineering isn't sufficient for the task. For more information on using `OpenAIEmbedding`." |
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.
"In addition to completing text, we can also embed text for use in downstream algorithms or vector retrieval architectures. Creating embeddings allows you to search and retrieve documents from large collections and can be used when prompt engineering isn't sufficient for the task. For more information on using `OpenAIEmbedding`." | |
"In addition to completing text, we can also embed text for use in downstream algorithms or vector retrieval architectures. Creating embeddings allows you to search and retrieve documents from large collections and can be used when prompt engineering isn't sufficient for the task." |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2214 +/- ##
==========================================
+ Coverage 86.19% 86.22% +0.03%
==========================================
Files 327 327
Lines 16715 16715
Branches 1495 1495
==========================================
+ Hits 14407 14413 +6
+ Misses 2308 2302 -6 ☔ View full report in Codecov by Sentry. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
merged Azure docc PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/275170 |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Related Issues/PRs
#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?
Does this PR change any dependencies?
Does this PR add a new feature? If so, have you added samples on website?
website/docs/documentation
folder.Make sure you choose the correct class
estimators/transformers
and namespace.DocTable
points to correct API link.yarn run start
to make sure the website renders correctly.<!--pytest-codeblocks:cont-->
before each python code blocks to enable auto-tests for python samples.WebsiteSamplesTests
job pass in the pipeline.