Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9c65b3

Browse files
authored
fix numerous typos (pydantic#95)
1 parent9f40a47 commitc9c65b3

File tree

13 files changed

+21
-18
lines changed

13 files changed

+21
-18
lines changed

‎Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ else ifeq ($(PPPR_TOKEN),)
8080
@exit 1
8181
else
8282
@echo 'installing insiders packages...'
83-
@uv pip install -U mkdocs-material mkdocstrings-python \
84-
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/
83+
@uv pip install -U \
84+
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
85+
mkdocs-material mkdocstrings-python
8586
endif
8687

8788
.PHONY: docs-insiders# Build the documentation using insiders packages
@@ -98,10 +99,10 @@ cf-pages-build:
9899
uv python install 3.12
99100
uv sync --python 3.12 --frozen --group docs
100101
uv pip install -U\
101-
--extra-index-url https://pydantic:$(PPPR_TOKEN)@pppr.pydantic.dev/simple/\
102+
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/\
102103
mkdocs-material mkdocstrings-python
103104
uv pip freeze
104-
uv run --no-sync mkdocs build
105+
uv run --no-sync mkdocs build -f mkdocs.insiders.yml
105106

106107
.PHONY: all
107108
all: format lint typecheck testcov

‎docs/examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Examples
22

3-
Examples of how to usePydantic AI and what it can do.
3+
Examples of how to usePydanticAI and what it can do.
44

55
##Usage
66

‎docs/examples/pydantic-model.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Simple example of using Pydantic AI to construct a Pydantic model from a text input.
1+
#Pydantic Model
2+
3+
Simple example of using PydanticAI to construct a Pydantic model from a text input.
24

35
Demonstrates:
46

‎docs/examples/rag.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Demonstrates:
99
* RAG search
1010

1111
This is done by creating a database containing each section of the markdown documentation, then registering
12-
the search tool as a retriever with thePydantic AI agent.
12+
the search tool as a retriever with thePydanticAI agent.
1313

1414
Logic for extracting sections from markdown files and a JSON file with that data is available in
1515
[this gist](https://gist.github.com/samuelcolvin/4b5bb9bb163b1122ff17e29e48c10992).
@@ -34,7 +34,7 @@ With that running and [dependencies installed and environment variables set](./i
3434
python/uv-run -m pydantic_ai_examples.rag build
3535
```
3636

37-
(Note building the database doesn't usePydantic AI right now, instead it uses the OpenAI SDK directly.)
37+
(Note building the database doesn't usePydanticAI right now, instead it uses the OpenAI SDK directly.)
3838

3939
You can then ask the agent a question with:
4040

‎docs/examples/sql-gen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#SQL Generation
22

3-
Example demonstrating how to usePydantic AI to generate SQL queries based on user input.
3+
Example demonstrating how to usePydanticAI to generate SQL queries based on user input.
44

55
Demonstrates:
66

‎docs/examples/weather-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Example ofPydantic AI with multiple tools which the LLM needs to call in turn to answer a question.
1+
Example ofPydanticAI with multiple tools which the LLM needs to call in turn to answer a question.
22

33
Demonstrates:
44

‎pydantic_ai_examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#Pydantic AI Examples
1+
#PydanticAI Examples
22

3-
Examples of how to usePydantic AI and what it can do.
3+
Examples of how to usePydanticAI and what it can do.
44

55
Full documentation of these examples and how to run them is available at[ai.pydantic.dev/examples/](https://ai.pydantic.dev/examples/).

‎pydantic_ai_examples/pydantic_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Simple example of usingPydantic AI to construct a Pydantic model from a text input.
1+
"""Simple example of usingPydanticAI to construct a Pydantic model from a text input.
22
33
Run with:
44

‎pydantic_ai_examples/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
55
[project]
66
name ="pydantic-ai-examples"
77
version ="0.0.6"
8-
description ="Agent Framework / shimto usePydantic with LLMs"
8+
description ="Examples of howto usePydanticAI and what it can do."
99
authors = [
1010
{name ="Samuel Colvin",email ="samuel@pydantic.dev" },
1111
]

‎pydantic_ai_examples/roulette_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Example demonstrating how to usePydantic AI to create a simple roulette game.
1+
"""Example demonstrating how to usePydanticAI to create a simple roulette game.
22
33
Run with:
44
uv run -m pydantic_ai_examples.roulette_wheel

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp