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

feat: Star-search-tools integration with OpenAI Tools #764

Merged
merged 2 commits into from May 6, 2024

Conversation

jpmcb
Copy link
Member

@jpmcb jpmcb commented May 2, 2024

Description

This is a proof-of-concept for using OpenAI tools / functions.

This introduces some type safe Zod schema that the OpenAI tools can use to then retrieve relevant context including params we tell it about.

Lots of good docs in the OpenAI node docs:
https://github.com/openai/openai-node?tab=readme-ov-file#automated-function-calls
https://github.com/openai/openai-node/blob/master/examples/tool-call-helpers.ts

Related Tickets & Documents

N/a - Improving star search

Mobile & Desktop Screenshots/Recordings

Steps to QA

Run the api locally with relevant keys and hit the star-search/test endpoint

Tier (staff will fill in)

  • Tier 1
  • Tier 2
  • Tier 3
  • Tier 4

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@jpmcb jpmcb force-pushed the star-search-tools branch 2 times, most recently from 433becd to aa004d1 Compare May 4, 2024 16:00
@jpmcb jpmcb marked this pull request as ready for review May 6, 2024 16:36
@jpmcb jpmcb requested a review from a team May 6, 2024 16:37
Copy link
Contributor

@brandonroberts brandonroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brandonroberts brandonroberts merged commit 65d8022 into open-sauced:beta May 6, 2024
8 checks passed
@jpmcb jpmcb deleted the star-search-tools branch May 6, 2024 17:48
open-sauced bot pushed a commit that referenced this pull request May 6, 2024
## [2.25.0-beta.1](v2.24.1...v2.25.0-beta.1) (2024-05-06)

### 🍕 Features

* Star-search-tools integration with OpenAI Tools ([#764](#764)) ([65d8022](65d8022))
github-actions bot pushed a commit that referenced this pull request May 6, 2024
* feat: Star-search-tools integration with OpenAI Tools

Signed-off-by: John McBride <[email protected]>

* feat: Add issues vector search

Signed-off-by: John McBride <[email protected]>

---------

Signed-off-by: John McBride <[email protected]> 65d8022
open-sauced bot pushed a commit that referenced this pull request May 7, 2024
## [2.25.0](v2.24.1...v2.25.0) (2024-05-07)

### 🍕 Features

* Star-search-tools integration with OpenAI Tools ([#764](#764)) ([65d8022](65d8022))
* Star-search-tools releases aware ([#772](#772)) ([43c8571](43c8571))
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.

None yet

3 participants