Skip to content

Commit

Permalink
update .gitignore to include lib folders
Browse files Browse the repository at this point in the history
  • Loading branch information
davidoort committed May 11, 2024
1 parent 39f2fd4 commit 386bdd3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
.nx/

lib/
.env
56 changes: 0 additions & 56 deletions examples/openai/lib/index.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/openai/lib/index.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions examples/openai/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { generate } from '@genkit-ai/ai';
import { configureGenkit } from '@genkit-ai/core';
import { defineFlow, startFlowsServer } from '@genkit-ai/flow';

import { openAI } from 'genkitx-openai-plugin';
import { gpt35Turbo, openAI } from 'genkitx-openai-plugin';

import * as z from 'zod';

Expand All @@ -27,7 +27,7 @@ export const menuSuggestionFlow = defineFlow(
async (subject) => {
const llmResponse = await generate({
prompt: `Suggest an item for the menu of a ${subject} themed restaurant`,
model: '' /* TODO: Set a model. */,
model: 'openai/gpt-3.5-turbo',
config: {
temperature: 1,
},
Expand Down

0 comments on commit 386bdd3

Please sign in to comment.