You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Ensure American English spelling (e.g., "behavior", not "behaviour")
195
195
- Do NOT use Sphinx-style double backtick formatting (` ``code`` `). Use single backticks (`` `code` ``) for inline code references in docstrings and comments.
196
196
197
+
## Model profiles
198
+
199
+
Model profiles are generated using the `langchain-profiles` CLI in `libs/model-profiles`. The `--data-dir` must point to the directory containing `profile_augmentations.toml`, not the top-level package directory.
200
+
201
+
```bash
202
+
# Run from libs/model-profiles
203
+
cd libs/model-profiles
204
+
205
+
# Refresh profiles for a partner in this repo
206
+
uv run langchain-profiles refresh --provider openai --data-dir ../partners/openai/langchain_openai/data
207
+
208
+
# Refresh profiles for a partner in an external repo (requires echo y to confirm)
209
+
echo y | uv run langchain-profiles refresh --provider google --data-dir /path/to/langchain-google/libs/genai/langchain_google_genai/data
The `echo y |` pipe is required when `--data-dir` is outside the `libs/model-profiles` working directory.
219
+
197
220
## Additional resources
198
221
199
222
-**Documentation:**https://docs.langchain.com/oss/python/langchain/overview and source at https://github.com/langchain-ai/docs or `../docs/`. Prefer the local install and use file search tools for best results. If needed, use the docs MCP server as defined in `.mcp.json` for programmatic access.
- Ensure American English spelling (e.g., "behavior", not "behaviour")
195
195
- Do NOT use Sphinx-style double backtick formatting (` ``code`` `). Use single backticks (`` `code` ``) for inline code references in docstrings and comments.
196
196
197
+
## Model profiles
198
+
199
+
Model profiles are generated using the `langchain-profiles` CLI in `libs/model-profiles`. The `--data-dir` must point to the directory containing `profile_augmentations.toml`, not the top-level package directory.
200
+
201
+
```bash
202
+
# Run from libs/model-profiles
203
+
cd libs/model-profiles
204
+
205
+
# Refresh profiles for a partner in this repo
206
+
uv run langchain-profiles refresh --provider openai --data-dir ../partners/openai/langchain_openai/data
207
+
208
+
# Refresh profiles for a partner in an external repo (requires echo y to confirm)
209
+
echo y | uv run langchain-profiles refresh --provider google --data-dir /path/to/langchain-google/libs/genai/langchain_google_genai/data
The `echo y |` pipe is required when `--data-dir` is outside the `libs/model-profiles` working directory.
219
+
197
220
## Additional resources
198
221
199
222
-**Documentation:**https://docs.langchain.com/oss/python/langchain/overview and source at https://github.com/langchain-ai/docs or `../docs/`. Prefer the local install and use file search tools for best results. If needed, use the docs MCP server as defined in `.mcp.json` for programmatic access.
0 commit comments