Skip to content

Commit 03c6541

Browse files
committed
chore: fix typos (UK to US English spelling)
- optimised → optimized - Initialise → Initialize - behavioural → behavioral - behaviour → behavior - Analyse → Analyze
1 parent bc8afe1 commit 03c6541

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ uv add 'stackone-ai[mcp,examples]'
7373
```python
7474
from stackone_ai import StackOneToolSet
7575

76-
# Initialise with API key
76+
# Initialize with API key
7777
toolset = StackOneToolSet() # Uses STACKONE_API_KEY env var
7878
# Or explicitly: toolset = StackOneToolSet(api_key="your-api-key")
7979

@@ -133,11 +133,11 @@ tools = toolset.fetch_tools(providers=["hibob"])
133133

134134
## Implicit Feedback (Beta)
135135

136-
The Python SDK can emit implicit behavioural feedback to LangSmith so you can triage low-quality tool results without manually tagging runs.
136+
The Python SDK can emit implicit behavioral feedback to LangSmith so you can triage low-quality tool results without manually tagging runs.
137137

138138
### Automatic configuration
139139

140-
Set `LANGSMITH_API_KEY` in your environment and the SDK will initialise the implicit feedback manager on first tool execution. You can optionally fine-tune behaviour with:
140+
Set `LANGSMITH_API_KEY` in your environment and the SDK will initialize the implicit feedback manager on first tool execution. You can optionally fine-tune behavior with:
141141

142142
- `STACKONE_IMPLICIT_FEEDBACK_ENABLED` (`true`/`false`, defaults to `true` when an API key is present)
143143
- `STACKONE_IMPLICIT_FEEDBACK_PROJECT` to pin a LangSmith project name
@@ -187,7 +187,7 @@ StackOne tools work seamlessly with LangChain, enabling powerful AI agent workfl
187187
from langchain_openai import ChatOpenAI
188188
from stackone_ai import StackOneToolSet
189189

190-
# Initialise StackOne tools
190+
# Initialize StackOne tools
191191
toolset = StackOneToolSet()
192192
tools = toolset.fetch_tools(actions=["hris_*"], account_ids=["your-account-id"])
193193

@@ -282,7 +282,7 @@ langchain_tools = tools.to_langchain()
282282
# Create CrewAI agent with StackOne tools
283283
agent = Agent(
284284
role="HR Manager",
285-
goal="Analyse employee data and generate insights",
285+
goal="Analyze employee data and generate insights",
286286
backstory="Expert in HR analytics and employee management",
287287
tools=langchain_tools,
288288
llm="gpt-4o-mini"

justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ mypy:
2929
# Run typos spell checker
3030
typos:
3131
typos .
32+
33+
# Fix typos
34+
typos-fix:
35+
typos --write-changes .

stackone_ai/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Hybrid search default weight for BM25 vs TF-IDF
22
# alpha=0.2 means: 20% BM25 + 80% TF-IDF
3-
# This value was optimised through validation testing and provides
3+
# This value was optimized through validation testing and provides
44
# 10.8% improvement in tool discovery accuracy
55
DEFAULT_HYBRID_ALPHA: float = 0.2

0 commit comments

Comments
 (0)