docs: update universal init title (#22990)

This commit is contained in:
Bagatur 2024-06-17 12:13:31 -07:00 committed by GitHub
parent a54deba6bc
commit 158701ab3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"id": "cfdf4f09-8125-4ed1-8063-6feed57da8a3", "id": "cfdf4f09-8125-4ed1-8063-6feed57da8a3",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# How to let your end users choose their model\n", "# How to init any model in one line\n",
"\n", "\n",
"Many LLM applications let end users specify what model provider and model they want the application to be powered by. This requires writing some logic to initialize different ChatModels based on some user configuration. The `init_chat_model()` helper method makes it easy to initialize a number of different model integrations without having to worry about import paths and class names.\n", "Many LLM applications let end users specify what model provider and model they want the application to be powered by. This requires writing some logic to initialize different ChatModels based on some user configuration. The `init_chat_model()` helper method makes it easy to initialize a number of different model integrations without having to worry about import paths and class names.\n",
"\n", "\n",

View File

@ -79,7 +79,7 @@ These are the core building blocks you can use when building applications.
- [How to: stream a response back](/docs/how_to/chat_streaming) - [How to: stream a response back](/docs/how_to/chat_streaming)
- [How to: track token usage](/docs/how_to/chat_token_usage_tracking) - [How to: track token usage](/docs/how_to/chat_token_usage_tracking)
- [How to: track response metadata across providers](/docs/how_to/response_metadata) - [How to: track response metadata across providers](/docs/how_to/response_metadata)
- [How to: let your end users choose their model](/docs/how_to/chat_models_universal_init/) - [How to: init any model in one line](/docs/how_to/chat_models_universal_init/)
### LLMs ### LLMs