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 BaseOptions to ChatOpenAI #787

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

raffareis
Copy link
Contributor

Motivation:

Had the need to pass Helicone's API key but there was no way to pass the BaseOptions needed on the documentation.

Used a very similar code to pupeteer's node metadata input. Just added a try..catch, in case something is wrong with the JSON, so the user can identify where it is coming from.

BaseOptions
BaseOptions on ChatOpenAI node

image
Example call to Helicone

image
Custom properties working as well, so any use you may have for BaseOptions now are possible

@HenryHengZJ HenryHengZJ merged commit d37d3f6 into FlowiseAI:main Aug 17, 2023
2 checks passed
@raffareis raffareis deleted the feature/ChatOpenAIBaseOption branch August 19, 2023 18:16
hemati pushed a commit to hemati/Flowise that referenced this pull request Dec 27, 2023
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