-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Chains Docs. #1282
Update Chains Docs. #1282
Conversation
@@ -85,12 +86,11 @@ an access token for downloading model weights). | |||
| Name | Type | Description | | |||
|------|------|-------------| | |||
| `data_dir` | *Path\|None* | The directory where the chainlet can store and access data, e.g. for downloading model weights. | | |||
| `user_config` | ** | User-defined configuration for the chainlet. | | |||
| `chainlet_to_service` | *Mapping[str,[ServiceDescriptor](#truss_chains.ServiceDescriptor* | A mapping from chainlet names to service descriptors. This is used create RPCs sessions to dependency chainlets. It contains only the chainlet services that are dependencies of the current chainlet. | | |||
| `chainlet_to_service` | *Mapping[str,[DeployedServiceDescriptor](#truss_chains.DeployedServiceDescriptor* | A mapping from chainlet names to service descriptors. This is used create RPCs sessions to dependency chainlets. It contains only the chainlet services that are dependencies of the current chainlet. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the brackets for Mapping[str,[DeployedServiceDescriptor](#truss_chains.DeployedServiceDescriptor
supposed to be imbalanced? I noticed a few other instances of this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be a bug somewhere here: https://github.com/basetenlabs/truss/blob/main/docs/chains/doc_gen/mdx_adapter.py#L30
I couldn't track it down without spending too much time on it. I'll just fix it manually for now.
@@ -85,12 +86,11 @@ an access token for downloading model weights). | |||
| Name | Type | Description | | |||
|------|------|-------------| | |||
| `data_dir` | *Path\|None* | The directory where the chainlet can store and access data, e.g. for downloading model weights. | | |||
| `user_config` | ** | User-defined configuration for the chainlet. | | |||
| `chainlet_to_service` | *Mapping[str,[ServiceDescriptor](#truss_chains.ServiceDescriptor* | A mapping from chainlet names to service descriptors. This is used create RPCs sessions to dependency chainlets. It contains only the chainlet services that are dependencies of the current chainlet. | | |||
| `chainlet_to_service` | *Mapping[str,[DeployedServiceDescriptor](#truss_chains.DeployedServiceDescriptor* | A mapping from chainlet names to service descriptors. This is used create RPCs sessions to dependency chainlets. It contains only the chainlet services that are dependencies of the current chainlet. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `chainlet_to_service` | *Mapping[str,[DeployedServiceDescriptor](#truss_chains.DeployedServiceDescriptor* | A mapping from chainlet names to service descriptors. This is used create RPCs sessions to dependency chainlets. It contains only the chainlet services that are dependencies of the current chainlet. | | |
| `chainlet_to_service` | *Mapping[str,[DeployedServiceDescriptor](#truss_chains.DeployedServiceDescriptor* | A mapping from chainlet names to service descriptors. This is used to create RPC sessions to dependency chainlets. It contains only the chainlet services that are dependencies of the current chainlet. | |
886d0b9
to
154473a
Compare
🚀 What
NOTE: only changes in
docs/chains/doc_gen/API-reference.mdx
are going to be published.💻 How
🔬 Testing