Skip to content

Commit

Permalink
chore: fix typos (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejmajek authored Sep 13, 2024
1 parent 90d38f9 commit 65868d4
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ These guidelines have been therefore strongly influenced by the [ROS2 Contributi

- Adopt community best-practices whenever possible instead of ad-hoc processes

Think about the end-users experiance when developing and contributing. Features accessible to a larger amount of potential users, utilising widely available solutions are more likely to be accepted.
Think about the end-users experience when developing and contributing. Features accessible to a larger amount of potential users, utilising widely available solutions are more likely to be accepted.

- Think about the community as a whole

Think about the bigger picture. There are developers building different robots with different constraints. The landscape of available AI models is rapidly changing, coming with different capabilities and constraints. RAI wants to accomodate requirements of the whole community.
Think about the bigger picture. There are developers building different robots with different constraints. The landscape of available AI models is rapidly changing, coming with different capabilities and constraints. RAI wants to accommodate requirements of the whole community.

There are a number of ways you can contribute to the RAI project.

Expand All @@ -45,7 +45,7 @@ To submit a change begin by forking this repository and making the changes on th
Once the changes are ready to be proposed create a pull request back to the repository.
In order to maintain a linear and clear commit history please:

- make sure that all committs have meaningful messages
- make sure that all commits have meaningful messages
- if batches of "cleanup" or similar commits are present - squash them together
- rebase onto the main branch of repository before making the PR

Expand Down
2 changes: 1 addition & 1 deletion src/rai/rai/agents/state_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class State(TypedDict):


class Report(BaseModel):
problem: str = Field(..., title="Problem", description="The problem that occured")
problem: str = Field(..., title="Problem", description="The problem that occurred")
solution: str = Field(
..., title="Solution", description="The solution to the problem"
)
Expand Down
4 changes: 2 additions & 2 deletions src/rai/rai/apps/task_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ def robot_agnostic_planner(
def robot_specific_planner(
llm: BaseChatModel,
robot_constitution: str,
platfrom_specific_informations: str,
platform_specific_information: str,
task: str,
planner_prompt: str = PLANNER_PROMPT,
) -> StepsList:
planner_template = ChatPromptTemplate.from_messages(
[
("system", robot_constitution),
("system", platfrom_specific_informations),
("system", platform_specific_information),
("system", planner_prompt),
("human", "The task: {input}"),
]
Expand Down
2 changes: 1 addition & 1 deletion src/rai/rai/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, llm, bufsize: int = 100) -> None:
[
(
"system",
"Shorten the following log keeping its format - for example merge simillar or repeating lines",
"Shorten the following log keeping its format - for example merge similar or repeating lines",
),
("human", "{rosout}"),
]
Expand Down
2 changes: 1 addition & 1 deletion src/rai_extensions/rai_grounding_dino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rosdep install --from-paths src --ignore-src -r

### Build and run

In the base directory of the `RAI` package install dependancies:
In the base directory of the `RAI` package install dependencies:

```
poetry install --with gdino
Expand Down
2 changes: 1 addition & 1 deletion src/rai_hmi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The RAI HMI (Human-Machine Interface) allows users to converse with the robot an
### Published Topics

- **`to_human`** (`std_msgs/String`): Outgoing plaintext messages for the user.
- **`task_additon_requests`** (`std_msgs/String`): Tasks to be added to the queue, in JSON format.
- **`task_addition_requests`** (`std_msgs/String`): Tasks to be added to the queue, in JSON format.

## Task JSON Schema

Expand Down
2 changes: 1 addition & 1 deletion src/rai_hmi/rai_hmi/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class QueryDatabaseInput(BaseModel):
...,
description=(
"The query that will be searched in the database."
" eg: 'PWM informations', 'How to use the camera' etc."
" eg: 'PWM information', 'How to use the camera' etc."
),
)

Expand Down
2 changes: 1 addition & 1 deletion src/rai_whoami/rai_whoami/rai_whoami_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_documentation_callback(
) -> VectorStoreRetrieval_Response:
"""Return documentation based on the query string"""
query = request.query
self.get_logger().info(f"Datbase queried with: {query}")
self.get_logger().info(f"Database queried with: {query}")

if query:
self.get_logger().info(f"Querying for documentation: {query}")
Expand Down

0 comments on commit 65868d4

Please sign in to comment.