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
[Conversation API - Alpha2] Add new tool calling capability (#822)
* initial
Signed-off-by: Filinto Duran <[email protected]>
* fixes after proto change upstream
Signed-off-by: Filinto Duran <[email protected]>
* minor name changes and cleanup unused function
Signed-off-by: Filinto Duran <[email protected]>
* refactors, updates to readme, linting
Signed-off-by: Filinto Duran <[email protected]>
* feedback
Signed-off-by: Filinto Duran <[email protected]>
* feedback, updates
Signed-off-by: Filinto Duran <[email protected]>
* fix import in examples
Signed-off-by: Filinto Duran <[email protected]>
* cleanup, import, lint, more conversation helpers
Signed-off-by: Filinto Duran <[email protected]>
* clarify README, minor test import changes, copyright
Signed-off-by: Filinto Duran <[email protected]>
* feedback DRY test_conversation file
Signed-off-by: Filinto Duran <[email protected]>
* lint
Signed-off-by: Filinto Duran <[email protected]>
* move conversation classes in _response module to conversation module.
Some example README refactor/lint
Signed-off-by: Filinto Duran <[email protected]>
* minor readme change
Signed-off-by: Filinto Duran <[email protected]>
* Update daprdocs/content/en/python-sdk-docs/python-client.md
Co-authored-by: Albert Callarisa <[email protected]>
Signed-off-by: Filinto Duran <[email protected]>
* lint
Signed-off-by: Filinto Duran <[email protected]>
* updates to fix issue with tool calling helper when dealing with classes instead of dataclasses, and also with serializatin output of the tool back to the LLM
Signed-off-by: Filinto Duran <[email protected]>
* coalesce conv helper tests, fix typing lint
Signed-off-by: Filinto Duran <[email protected]>
* make indent line method doc more dev friendly
Co-authored-by: Elena Kolevska <[email protected]>
Signed-off-by: Filinto Duran <[email protected]>
* tackle some feedback, still missing unit tests
Signed-off-by: Filinto Duran <[email protected]>
* add unit test to convert_value_to_struct
Signed-off-by: Filinto Duran <[email protected]>
* more unit tests per feedback
Signed-off-by: Filinto Duran <[email protected]>
* make async version of unit test conversation
Signed-off-by: Filinto Duran <[email protected]>
* add some information how to run markdown tests with a different runtime
Signed-off-by: Filinto Duran <[email protected]>
* ran tox -e ruff, even though tox -e flake8 was fine
Signed-off-by: Filinto Duran <[email protected]>
* add tests to increase coverage in conversation and conversation_helpers that codecov pointed out
Signed-off-by: Filinto Duran <[email protected]>
* add more information on execute registered tools, also added more tests for them to validate
Signed-off-by: Filinto Duran <[email protected]>
* fix test failing on py 1.13. Merge two unit test files per feedback
Signed-off-by: Filinto Duran <[email protected]>
* Linter
Signed-off-by: Elena Kolevska <[email protected]>
* fix typing issue with UnionType in py3.9
Signed-off-by: Filinto Duran <[email protected]>
---------
Signed-off-by: Filinto Duran <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
Co-authored-by: Albert Callarisa <[email protected]>
Co-authored-by: Elena Kolevska <[email protected]>
Co-authored-by: Elena Kolevska <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,15 @@ tox -e type
124
124
tox -e examples
125
125
```
126
126
127
+
[Dapr Mechanical Markdown](https://github.com/dapr/mechanical-markdown) is used to test the examples.
128
+
129
+
If you need to run the examples against a pre-released version of the runtime, you can use the following command:
130
+
- Get your daprd runtime binary from [here](https://github.com/dapr/dapr/releases) for your platform.
131
+
- Copy the binary to your dapr home folder at $HOME/.dapr/bin/daprd.
132
+
Or using dapr cli directly: `dapr init --runtime-version <release version>`
133
+
- Now you can run the example with `tox -e examples`.
134
+
135
+
127
136
## Documentation
128
137
129
138
Documentation is generated using Sphinx. Extensions used are mainly Napoleon (To process the Google Comment Style) and Autodocs (For automatically generating documentation). The `.rst` files are generated using Sphinx-Apidocs.
0 commit comments