Skip to content
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

added back wxflow.toml for chat-app #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/chat-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cd wxflows

There's already a wxflows project for you set up this repository with the following values:

- **Defines an endpoint** `api/chat-app-example` for the project.
- **Defines an endpoint** `api/examples-chat-app` for the project.
- **Imports `google_books` tool** with a description for searching books and specifying fields `books|book`.
- **Imports `wikipedia` tool** with a description for Wikipedia searches and specifying fields `search|page`.

Expand Down
22 changes: 22 additions & 0 deletions examples/chat-app/wxflows/wxflows.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[wxflows.deployment]
endpoint_name = "api/examples-chat-app"
# Example flows.
flows=" // You should add your flows here "
ai_engine = "WATSONX"
# Endpoint imports provide customized extensions for your flows
[[wxflows.deployment.endpoint.imports]]
# import 1
name = "google_books"
package = "https://raw.githubusercontent.com/IBM/wxflows/refs/heads/main/tools/google_books.zip"
[[wxflows.deployment.endpoint.imports.tools]] # import 1: tool description 1
name = "google_books"
description = """Retrieve information from Google Books. Find books by search string, for example to search for Daniel Keyes 'Flowers for Algernon' use q: 'intitle:flowers+inauthor:keyes'"""
fields = "books|book"
[[wxflows.deployment.endpoint.imports]]
# import 2
name = "wikipedia"
package = "https://raw.githubusercontent.com/IBM/wxflows/refs/heads/main/tools/wikipedia.zip"
[[wxflows.deployment.endpoint.imports.tools]] # import 2: tool description 1
name = "wikipedia"
description = """Retrieve information from Wikipedia."""
fields = "search|page"