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

Fluid FHL LLM Client (OpenAI) #20092

Closed
wants to merge 3 commits into from
Closed

Conversation

seanimam
Copy link
Contributor

@seanimam seanimam commented Mar 12, 2024

Description

Adds new package for interacting with an LLM and completing common tasks/actions as part of the March 2024 FHL Hackathon

Getting started

Add your open ai api key to the .env file

You can see a working demo within summarizeAction.test.ts. To run the file just run npm run test summarizeAction.test.ts

@github-actions github-actions bot added area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct base: main PRs targeted against main branch labels Mar 12, 2024
@@ -0,0 +1 @@
OPENAI_API_KEY="replaceMe"
Copy link
Contributor

Choose a reason for hiding this comment

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

fyi--I know this is a draft, but in general version controlling the .env file is a bit dangerous as people may accidentally stage/commit it and not correctly rewrite history before pushing creds to somewhere public.

An alternative pattern I've seen which is basically as lightweight is to version control a file named .env.sample or something like that, which would have contents resembling this, and .gitignore .env. Then README instructions for setup have users copy the .sample file and populate creds locally.

Copy link
Contributor

This PR has been automatically marked as stale because it has had no activity for 60 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct base: main PRs targeted against main branch status: stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants