53. Mais est ce qu’on peut l’utiliser pour en
faire quelque chose d’intelligent ?
54. Un LLM complète du texte
« Prompt »
[System] You are a helpful assistant
[Human] Roses are red,
Large Language
Model (API)
« Completion »
[AI] Violets are blue,
« Prompt »
[System] You are a helpful assistant
[Human] Roses are red,
[AI] Violets are blue,
[Human] Sugar is sweet,
Large Language
Model (API)
« Completion »
[AI] And so are you.
55. L’API de OpenAI GPT-4
ChatGPT
« Prompt »
[System] You are a helpful assistant
[Human] Roses are red,
« Completion »
[AI] Violets are blue,
Tokens
“1,000 tokens is about 750 words”
Source : https://openai.com/pricing?_sm_vck=3VVFf74Q2t47PMR0MNR5MMMFV6Qtv67333PNJ7M0MFff7FsT552V
56. LangChain
“LangChain is a framework for developing applications powered by language models. We believe that the most
powerful and differentiated applications will not only call out to a language model via an API, but will also:
• Be data-aware: connect a language model to other sources of data
• Be agentic: allow a language model to interact with its environment
The LangChain framework is designed with the above principles in mind.”
Open Source (Licence MIT)
Très populaire
Débuté le 23 Octobre 2022
Activement développé depuis