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

Github issue #57

Closed
kevinseabourne opened this issue Jul 20, 2023 · 13 comments
Closed

Github issue #57

kevinseabourne opened this issue Jul 20, 2023 · 13 comments
Labels
bug Something isn't working

Comments

@kevinseabourne
Copy link

I am not able to connect the github repo it says status failed

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 20, 2023

Hey, is it a private repo?

@n4ze3m n4ze3m added the bug Something isn't working label Jul 20, 2023
@kevinseabourne
Copy link
Author

no its public, I was getting a 401 server error in the console, trying to chat also

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 20, 2023

Hmm, interesting. Did you provide the GitHub access token as an environmental variable?

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 20, 2023

Already have a few issues with GitHub loader #37

@kevinseabourne
Copy link
Author

yes provided in the .env file

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 20, 2023

Ok, I will check what happened and update here when the fix is released.

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 22, 2023

Hey, just released v0.0.20 with a custom GitHub loader that clones the repo locally instead of using the GitHub API. It also supports private repos by providing an access token, similar to the GitHub API. Let me know if you face any issues.

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 22, 2023

Hmm, it's an internal server error :/ No error on the terminal?

@kevinseabourne
Copy link
Author

that error was my bad, I provided the wrong openAI API. But when trying to chat about a public repo I provided the ai responded

context provided is not in a readable format. Please provide the context in a clear and understandable format so I can assist you better

I like your decision to just clone the repo, Im not sure how your scrapping the repo locally. I tried to do something like this, using a python algo to scrape a Github repo and post each file to a single text file along with the file name and directory that file came from. I then uploaded that to chatGPT and it worked it out. Also you scrapper seems only scrape websites that allow it, I just tried to talk to the AI about an article on a website, I provided and this did not work it sighted legal reason from the site preventing it.

If you can get the plugins working and allow users to choose 20 max per bot or something, this will sort of solve the problem scrapping any website as some of the plugins can do that. The dream for me is to have a deep conversation about a repo you provide, then provide it links to the latest code documentation for a language to read and even have a plugin that transcribes youtube videos and a code interpreter plugin. What you have built so far is absolutely awesome dude and the fact that it is open source, shows how much of a good person you are !

Also when you add or remove data sources the chat history is gone, if you can prevent this that would be great !

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 22, 2023

I just used 'git clone' and read all files using 'fs.' You can check the code here : https://github.com/n4ze3m/dialoqbase/blob/main/server/src/loader/github.ts

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 22, 2023

If you can get the plugins working and allow users to choose 20 max per bot or something, this will sort of solve the problem scrapping any website as some of the plugins can do that.

I will look into how to set up plugins / agents for dialoqbase :)

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 22, 2023

Also when you add or remove data sources the chat history is gone, if you can prevent this that would be great !

The current playground is just an iframe from bot sharable URL. I already planned to improve the playground UI with a history feature, similar to that of ChatGPT UI. However, I got busy with personal stuff, so I will try to add it in the upcoming release :)

@n4ze3m
Copy link
Owner

n4ze3m commented Jul 22, 2023

context provided is not in a readable format. Please provide the context in a clear and understandable format so I can assist you better

Try changing the prompt and temperature, and also consider trying the 16k context model 👀

@n4ze3m n4ze3m closed this as completed Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants