Conversation
d6ce907 to
c2909d8
Compare
0fa0798 to
4203355
Compare
4203355 to
1ba2242
Compare
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: samsja <[email protected]>
1ba2242 to
ce37200
Compare
Signed-off-by: samsja <[email protected]>
Signed-off-by: samsja <[email protected]>
Signed-off-by: samsja <[email protected]>
Signed-off-by: samsja <[email protected]>
JohannesMessner
left a comment
There was a problem hiding this comment.
Cool! We will have to do loads of polishing work, move stuff around, add or remove sections, but let's not get bogged down too much, I think this is a great starting point!
|
|
||
| class ImageDoc(BaseDoc): | ||
| url: VideoUrl | ||
| bytes: VideoBytes = ( |
There was a problem hiding this comment.
No if you put =None it is optional by default
There was a problem hiding this comment.
do you think it is more explicit to have optional ?
5b6f784 to
3d5b660
Compare
Signed-off-by: samsja <[email protected]>
Signed-off-by: samsja <[email protected]>
Co-authored-by: Johannes Messner <[email protected]> Signed-off-by: samsja <[email protected]>
Signed-off-by: samsja <[email protected]>
Signed-off-by: Alex C-G <[email protected]>
| * Will perform data validation: `BaseDoc` will check that the data you pass to it is valid. If not, it will raise an | ||
| error. Data being "valid" is actually defined by the type used in the type hint itself, but we will come back to this concept later. (TODO add typing section) | ||
| * Can be configured using a nested `Config` class, see Pydantic [documentation](https://docs.pydantic.dev/usage/model_config/) for more detail on what kind of config pydantic offers. | ||
| * Can be used as a drop-in replacement for `BaseModel` in your code and is compatible with tools that use Pydantic like [FastAPI]('https://fastapi.tiangolo.com/'). |
There was a problem hiding this comment.
Just a note to reference FastAPI integration page here that I'm currently working on for whoever merges the second
Co-authored-by: Saba Sturua <[email protected]> Signed-off-by: samsja <[email protected]>
|
📝 Docs are deployed on https://ft-docs-add-user-guide--jina-docs.netlify.app 🎉 |
seems like he don't want to review :(
Context
Early PR to merge the beginning of the documentation
https://ft-docs-add-user-guide--jina-docs.netlify.app](https://ft-docs-add-user-guide--jina-docs.netlify.app/