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

ValueError: Please provide an OpenAI API key. You can get one at https://platform.openai.com/account/api-keys #68

Open
MahmoudMabrok opened this issue Jan 1, 2025 · 1 comment

Comments

@MahmoudMabrok
Copy link

while I am using chat_github_llama3.py I get above error when do streamlit run chat_github_llama3.py

@Madhuvod
Copy link
Contributor

Madhuvod commented Jan 1, 2025

hey @MahmoudMabrok , thanks for noticing. the file you're taking about needs a GitHub access token and ollama to be run locally to run, and the other script chat_github.py actually needs the openai key, since these were committed few months ago, a lot of changes need to be done with embed chain and .chat() methods were deprecated, so we need to make a few changes to them. I'm on it.

if its urgent to chat with your GitHub repo, or any repo of that matter, there GitHub copilot that's available for free users right now. you can use it :)

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

No branches or pull requests

2 participants