Skip to content
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

docs(cli)📝: Update CLI documentation for the llamabot docs write command #91

Merged
merged 13 commits into from
Sep 6, 2024

Conversation

ericmjl
Copy link
Owner

@ericmjl ericmjl commented Aug 31, 2024

  • Revise main title and sections for llamabot docs write.
  • Clarify --force usage and introduce from_scratch parameter.
  • Add examples and explain frontmatter key-value pairs.

…mmand

- Revise main title and sections for `llamabot docs write`.
- Clarify `--force` usage and introduce `from_scratch` parameter.
- Add examples and explain frontmatter key-value pairs.
- Replace the `--force` flag with the `--from-scratch` flag.
- Clarify usage by instructing to open terminal and navigate to project root.
- Update command description to include 'intents in Markdown source files'.
- Change section titles from 'Options' to 'Flags' and update frontmatter.
- Provide a usage example for the `--from-scratch` flag.
- Refine explanation of frontmatter for better context and instructions.
…ng from scratch

- Move content clearing to start of write function if from_scratch is true.
- Reformatted the `--from-scratch` flag section for better clarity.
- Updated frontmatter section to specify YAML format.
- Simplified the example section with a complete Markdown file.
- Changed file and intent sections in Python script for clearer content blocks.
…nges and add new test cases

- Updated documentation and test suite for new source code changes.
- Added comprehensive test cases for documentation validation.
- Add explanation of how linked files are referenced.
- Detail the mechanism of referencing files in `linked_files` key.
- Provide an example of relative path usage for linked files.
- Provide a tutorial on how to use the prime number function.
- Explain any optimizations made in the source code.
- Change task_message return type to HumanMessage in StructuredBot.
- Substitute DocumentationOutOfDate with ModelValidatorWrapper.
- Add ood_checker_bot and docwriter_bot functions for bot instance creation.
- Update write function to use new bot functions and handle doc updates.
- Fix class name typos in test cases to DocsDoNotCoverIntendedMaterial.
- Implement is_prime function to check primality.
- Create next_prime function to find the next prime number after a given number.
…and improve function documentation

- Import pathlib and use Path for reading external prime number source code.
- Update docstrings in is_prime and next_prime with parameter and return details.
- Modify is_prime base case to check for n < 2 and add a case for n == 3.
- Change pytest marker from llm_evals to llm.
…guration

- Change pytest marker from 'llm' to 'llm_eval' in test_docs.py.
- Update pytest addopts in pyproject.toml to use the new 'llm_eval' marker.
- Update sha256 in pixi.lock for llamabot package.
@ericmjl ericmjl merged commit 22e067d into main Sep 6, 2024
9 checks passed
@ericmjl ericmjl deleted the docs-bot-upgrades branch September 6, 2024 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant