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 <1373693+filintod@users.noreply.github.com>
* fixes after proto change upstream
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* minor name changes and cleanup unused function
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* refactors, updates to readme, linting
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* feedback
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* feedback, updates
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* fix import in examples
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* cleanup, import, lint, more conversation helpers
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* clarify README, minor test import changes, copyright
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* feedback DRY test_conversation file
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* lint
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* move conversation classes in _response module to conversation module.
Some example README refactor/lint
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* minor readme change
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* Update daprdocs/content/en/python-sdk-docs/python-client.md
Co-authored-by: Albert Callarisa <albert@acroca.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* lint
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* 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 <1373693+filintod@users.noreply.github.com>
* coalesce conv helper tests, fix typing lint
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* make indent line method doc more dev friendly
Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* tackle some feedback, still missing unit tests
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* add unit test to convert_value_to_struct
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* more unit tests per feedback
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* make async version of unit test conversation
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* add some information how to run markdown tests with a different runtime
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* ran tox -e ruff, even though tox -e flake8 was fine
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* add tests to increase coverage in conversation and conversation_helpers that codecov pointed out
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* add more information on execute registered tools, also added more tests for them to validate
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* fix test failing on py 1.13. Merge two unit test files per feedback
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
* Linter
Signed-off-by: Elena Kolevska <elena@kolevska.com>
* fix typing issue with UnionType in py3.9
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
---------
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Elena Kolevska <elena@kolevska.com>
Co-authored-by: Albert Callarisa <albert@acroca.com>
Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com>
Co-authored-by: Elena Kolevska <elena@kolevska.com>
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