Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from paperqa import Settings, ask
- local_llm_config = {
- "model_list": [
- {
- "model_name": "ollama/llama3",
- "litellm_params": {
- "model": "ollama/llama3",
- "api_base": "http://127.0.0.1:11434",
- }
- }
- ]
- }
- answer = ask(
- "How the SDN controller works within FANET?",
- settings=Settings(
- llm="ollama/llama3",
- llm_config=local_llm_config,
- summary_llm="ollama/llama3",
- summary_llm_config=local_llm_config,
- ),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement