Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
from pydantic import BaseModel from anaconda_ai.integrations.pydantic_ai import AnacondaChatModel class UserInfo(BaseModel): name: str age: int model = AnacondaChatModel( "OpenHermes-2.5-Mistral-7B_Q4_K_M.gguf", extra_options={ 'ctx_size': 4096, 'n_gpu_layers': 20, 'temp': 0.7 } )
server/<server-name>
model = AnacondaChatModel("server/my-server")
from anaconda_ai.integrations.pydantic_ai import AnacondaEmbeddingModel embed = AnacondaEmbeddingModel( "sentence-transformers/bge-small-en-v1.5/q4_k_m" ) result = await embed.embed("cat", input_type="document")
embed = AnacondaEmbeddingModel("server/my-server")
Was this page helpful?