Claude 3.5 Sonnet API: Integrate The Best LLM into your APP

Ғылым және технология

In this video we will see the new model from Anthropic, Claude 3.5 Sonnet, which currently is the best LLM in the benchmarks. We will learn how to use it with code in Python, calling to the Claude API for free, and then we will integrate it to the OmniChat Python Streamlit web app together with the OpenAI and Google models, and how to push and deploy our chatbot app for free.
Blog: / claude-sonnet-3-5-api-...
GitHub code: github.com/enricd/the_omnichat
The OmniChat app: the-omnichat.streamlit.app/
Previous videos:
GPT-4o: • Code your online Multi...
Gemini 1.5: • Gemini 1.5 API: Chat w...
Sections:
00:00 - Intro to Anthropic Cloude 3.5 Sonnet
3:20 - Using the Anthropic API and getting the API Key
4:50 - Anthropic API Python
8:02 - Prompt images with Claude
10:50 - Adding Cloude to the Streamlit chatbot app
23:30 - Pushing to GitHub and updating the online free Streamlti app
Subscribe to see more AI and ML programming related content! 🚀🚀
-------------------------------------------------------------
Kaggle: www.kaggle.com/edomingo
GitHub: github.com/enricd
Twitter: / mad_enrico
Linkedin: / e-domingo
Medium: / enricdomingo
Web: enricdomingo.com
--------------------
Royalty Free Music: Bensound.com
License code: TRIYYIETLXWBIGLD
--------------------
#claude #anthropic #claude35 #claudesonnet #sonnet #gpt #gpt4o #gpt4 #openai #promptengineering #chatgpt #openaiapi #python #streamlit #github #cloud #portfolio #agent #gpt #aiagents #automation #ai #streamlit #llm #copilot #chatgpt4o #omnichat #omnidata #howtochatgpt #github #git #vscode #gui #pythongui #stream #modelstream #streaming #llmstream #llmstreaming #openaistream #openaistreaming

Пікірлер: 15

  • @abdullahalasker536
    @abdullahalasker5368 күн бұрын

    Thank you. Clear and straight to the point.

  • @fallou_fall
    @fallou_fall12 күн бұрын

    Perfect ,great work always

  • @-vishalJ
    @-vishalJ13 күн бұрын

    Good Work!!

  • @VincentdeRenty
    @VincentdeRenty11 күн бұрын

    Nice Job, but unfortunatly i have an issue when i claim my 5$ ... the code I received didn't work and I can't receive a new one 😢

  • @enricd

    @enricd

    11 күн бұрын

    Hi Vincent, I think whenever you create an account with an email, you already have the $5, but I'm not sure. Try with a new email, and check if this is also available in your country as maybe it's only available in certain regions. I hope you will be able to fix it :)

  • @maiseja9987

    @maiseja9987

    3 күн бұрын

    i have the same problem. i verified my phone number and still couldn't claim it

  • @enricd

    @enricd

    Күн бұрын

    @@maiseja9987 support.anthropic.com/en/articles/8994925-how-do-i-claim-my-free-credits this is what they say in their FAQs

  • @maiseja9987
    @maiseja99873 күн бұрын

    thank you so much for this video. I can tell claude will be important in the near future. Though I wanna ask, is there a way to make it send files and get back files? I'm currently working on a project using claude's api

  • @enricd

    @enricd

    2 күн бұрын

    the model itself from the api I would say it's not capable of storing files or keeping them, you have to manage such functionalities in a backend logic in any cloud or your own computer. Like doing a vector database for example and the RAG logic.

  • @henkhbit5748
    @henkhbit57487 күн бұрын

    Excellent video👍 if u deploy at streamlit is the url publicly available? How to deploy from you're own server?

  • @enricd

    @enricd

    7 күн бұрын

    Thanks! when you deploy your app into the Streamlit Community Cloud, the .streamlit.app URL is available from anywhere in the internet, I have some other videos in my channel showing to do it. If you want to deploy it somewhere else you can do it either from your own server (which could be risky as you are opening it to the public internet) or you can also deploy it on AWS, Azure, GCP, Heroku and some other public clouds.

  • @henkhbit5748

    @henkhbit5748

    5 күн бұрын

    @@enricd thanks. for anthropic I get an error about billing "credit balance too low.." . I did create an account and succesfully claimed the $5. Is this not sufficient?

  • @SaiTeja-nu5pw
    @SaiTeja-nu5pw2 күн бұрын

    Hey man! Could you provide information on approximately how many prompts can be utilized with the $5 free credits? Additionally, is this offer available in all regions, or is it limited to specific areas?

  • @SaiTeja-nu5pw

    @SaiTeja-nu5pw

    2 күн бұрын

    I mean Multimodal queries

  • @enricd

    @enricd

    Күн бұрын

    As a reference, an image of 1000x1000px would take 1400 tokens, so 1000 image would cost 4 dollars. You can get more info in here: docs.anthropic.com/en/docs/build-with-claude/vision

Келесі