Bring wild rice, broth, salt, and pepper to a boil in a medium saucepan over high heat. Reduce heat to medium-low and cover tightly. Simmer until rice is tender, 45 minutes to 1 hour. (The exact cooking time depends on the kind of wild rice, machine- or hand-harvested. The former cooks more quickly than the latter.)
Meanwhile, heat an empty medium skillet over medium heat. Add pine nuts and cook, stirring occasionally, until toasted, about 3 minutes. Transfer to a plate.
Melt the butter in a large nonstick skillet over medium-low heat. Add shallots and cook, stirring occasionally, until golden brown, about 15 minutes. Add celery and cover. Cook, stirring occasionally, until celery is tender, about 6 to 8 minutes. Stir in rosemary and sage. Set aside.
When rice is done, drain any excess broth. Add shallot mixture and pine nuts and mix well. Add raspberries and cover. Let stand 3 minutes or until raspberries are heated through. Transfer to a serving bowl and serve hot.