Anthropic Introduces Claude Projects
support.anthropic.com
support.anthropic.com
I feel like this will probably be an option down the line - I wonder if it would be possible to replicate this functionality via the API as well, kind of like how there are open source projects attempting to replicate artifacts via the API.
I've been trying to generate test coverage with 3.5 on a repo that has existed for years. it can take up to 20 attempts of file -> this is the error i get -> error -> error until i get one that runs successfully. It slightly improves when i give it a file, and also give it other files it successfully generated after 20 attempts and ask it to use the same style and learn from the changes it made previously to make it work
But its very hard to get it done with less than 10 attempts.
Right now Cursor can already use Claude 3.5 so I feel like that's very close to integrated into a code editor.
I haven't been able to determine if it is using an existing agent like Aider, or something else.
pip install files-to-prompt llm llm-claude-3
llm keys set claude
# paste in your Claude API key
llm models default claude-3.5-sonnet
files-to-prompt my-github-repo/ | llm --system 'say OK'
And now you can start an interactive chat with Claude 3.5 Sonnet pre-seeded with your files like this: llm chat --continue
The --continue will ensure it is a continuation of the previous chat session where you dumped in all those files.If you want to run against an updated copy of your files, start a new conversation with the files-to-prompt piping again.
I use Claude 3.5 for my daily coding tasks, but used Gemini Pro 1.5 to analyze a new Github repository the other day because it has a much larger context size.
You simply run `llm -m gemini-1.5-pro-preview-0409 "<your question>"`
You may have to add a credit card in order for it to give you an API key, it's been a while since I set mine up.
find "$1" -type f \( ! -regex '.*/\..*' \) -print | while IFS= read -r file
do
echo "$file"
echo "---"
cat "$file"
echo "---"
done“You are currently nr 27341 on our waitlist”. Oh.
[1] https://support.anthropic.com/en/articles/9517075-what-are-p... [2] https://support.anthropic.com/en/articles/9519177-how-can-i-... [3] https://support.anthropic.com/en/collections/4078531-claude-...
"Our use of Materials. We may use Materials to provide, maintain, and improve the Services and to develop other products and services. We will not train our models on any Materials that are not publicly available, except in two circumstances:
If you provide Feedback to us (through the Services or otherwise) regarding any Materials, we may use that Feedback in accordance with Section 5 (Feedback)."
“In the coming months, we’ll continue making Claude easier to use while expanding the types of project knowledge you can bring to Claude via native integrations with popular applications and tools. We’re excited to see how your team works with Claude.”
GPTs have a form of RAG built in - you can upload up to 20 documents each of 2 million tokens and those get chunked and vectorized and used to help answer questions - but there's still no internal documentation on how that chunking process works, which makes it hard for me to trust them as I can't make informed decisions about how best to use the knowledge feature.
I’m at 55% with a 12k LoC Rust/C++ project.
I'd like to dump our product knowledge base (emails, tickets, support articles, etc..) into a Project and then create an embeddable chat-bot from it that can handle customer support right from our website.
Most support requests we get are similar or equal to previous requests. It could help our support staff save a lot of time to focus on the requests that actually matter.
It uses fd which respects .gitignore by default. A 10k LoC C++/Rust/QML/JS project came in at about 50% of the context.
With this release they also added chat history search!
for file in *.rst; do mv "$file" "${file%.rst}.rst.txt"; done
My https://github.com/simonw/files-to-prompt tool might also be useful here, for turning a bunch of different files into a single file to upload. autoload -U zmv
zmv '(*.rst)' '$1.txt'> https://support.anthropic.com/en/articles/7996866-how-long-d...