Skip to content

Conversation

softchris
Copy link
Collaborator

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@leestott leestott requested a review from Copilot October 3, 2025 08:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces an AI framework documentation project that demonstrates how to use LangChain with GitHub Models. The purpose is to provide educational content and code examples for building AI applications using frameworks rather than direct API calls.

Key changes include:

  • Complete documentation explaining AI framework benefits and usage patterns
  • Python code examples demonstrating basic prompting, chat conversations, and tool calling
  • Practical implementations showing integration with external APIs

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 10 comments.

File Description
10-ai-framework-project/README.md Comprehensive documentation covering AI frameworks, LangChain usage, and detailed code examples
10-ai-framework-project/code/python/app.py Basic LangChain implementation for simple prompting
10-ai-framework-project/code/python/app-chat.py Chat conversation example with message history
10-ai-framework-project/code/python/app-tools.py Tool calling implementation with external API integration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

)

messages = [
SystemMessage(content="You are Captain Picard of the Startship Enterprise"),
Copy link

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Startship' to 'Starship'.

Copilot uses AI. Check for mistakes.

@leestott leestott requested a review from Copilot October 11, 2025 10:44
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.



# works
response = llm.invoke(messages)
Copy link

Copilot AI Oct 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space in variable assignment - should be single space between 'response' and '='.

Copilot uses AI. Check for mistakes.

messages.append(response)
messages.append(HumanMessage(content="Now that I know about you, I'm Chris, can I be in your crew?"))

response = llm.invoke(messages)
Copy link

Copilot AI Oct 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space in variable assignment - should be single space between 'response' and '='.

Copilot uses AI. Check for mistakes.

)

messages = [
SystemMessage(content="You are Captain Picard of the Starship Enterprise"),
Copy link

Copilot AI Oct 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent spelling - this instance correctly uses 'Starship' while line 89 uses 'Startship'.

Copilot uses AI. Check for mistakes.

@leestott leestott merged commit 732cef1 into main Oct 11, 2025
1 check passed
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.

2 participants