A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/integrations/chat/llama_api/ below:

ChatLlamaAPI | 🦜️🔗 LangChain

This notebook shows how to use LangChain with LlamaAPI - a hosted version of Llama2 that adds in support for function calling.

from langchain.chains import create_tagging_chain

schema = {
"properties": {
"sentiment": {
"type": "string",
"description": "the sentiment encountered in the passage",
},
"aggressiveness": {
"type": "integer",
"description": "a 0-10 score of how aggressive the passage is",
},
"language": {"type": "string", "description": "the language of the passage"},
}
}

chain = create_tagging_chain(schema, model)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4