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

OpenAI simple LLM contract and example script #117

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

kristjanpeterson1
Copy link
Collaborator

Flow:

cd contracts
npm run compile
npx hardhat deploy --network galadriel --contract OpenAiSimpleLLM --oracleaddress <oracle address here>
# copy address and add to ./examples/.env under "SIMPLE_LLM_CONTRACT_ADDRESS"

cd ../examples
# Make sure CHAIN_ID, RPC_URL and PRIVATE_KEY fields present in .env
npm run simpleChat

@kristjanpeterson1 kristjanpeterson1 merged commit b2b0c3e into main Jul 5, 2024
5 checks passed
@kristjanpeterson1 kristjanpeterson1 deleted the kristjan/openai-simple-llm-chat branch July 5, 2024 09:21
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