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

Add additional custom tooling configuration #2426

Merged
merged 11 commits into from
Sep 20, 2024
Merged

Add additional custom tooling configuration #2426

merged 11 commits into from
Sep 20, 2024

Conversation

pablonyx
Copy link
Contributor

@pablonyx pablonyx commented Sep 13, 2024

Description

  • Seeding
  • Headers

How Has This Been Tested?

  • Add custom headers, verify network request
  • Seed tool

Example seeding instructions

  1. Create file in path with tool from https://docs.danswer.dev/tools/custom
  2. Set something like ENV_SEED_CONFIGURATION='{"custom_tools": [{"name": "new Assistants API", "description": "An API for managing assistants within Danswer", "definition_path": "path/to/custom_tool.json", "custom_headers": [{"key": "Authorization", "value": "Bearer YOUR_API_KEY"}], "display_name": null, "in_code_tool_id": null, "user_id": null}]}'
  3. Start up API server, verify tool properly created

Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 11:01pm

@pablonyx pablonyx enabled auto-merge September 18, 2024 18:42
@pablonyx pablonyx added this pull request to the merge queue Sep 19, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 19, 2024
* add custom headers

* add tool seeding

* squash

* tmep

* validated

* rm

* update typing

* update alembic

* update import name

* reformat
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 19, 2024
@pablonyx pablonyx enabled auto-merge September 20, 2024 18:40
@pablonyx pablonyx added this pull request to the merge queue Sep 20, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 20, 2024
* add custom headers

* add tool seeding

* squash

* tmep

* validated

* rm

* update typing

* update alembic

* update import name

* reformat

* alembic
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 20, 2024
@pablonyx pablonyx enabled auto-merge September 20, 2024 23:00
@pablonyx pablonyx added this pull request to the merge queue Sep 20, 2024
Merged via the queue into main with commit 18c62a0 Sep 20, 2024
7 checks passed
rajivml pushed a commit to UiPath/danswer that referenced this pull request Oct 2, 2024
* add custom headers

* add tool seeding

* squash

* tmep

* validated

* rm

* update typing

* update alembic

* update import name

* reformat

* alembic
rajivml pushed a commit to UiPath/danswer that referenced this pull request Oct 2, 2024
* add custom headers

* add tool seeding

* squash

* tmep

* validated

* rm

* update typing

* update alembic

* update import name

* reformat

* alembic
@pablonyx pablonyx deleted the tooling_configs branch October 17, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants